Re: g_source_add_poll or g_io_add_watch in Windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Robinson ha scritto:

For the connection I am currently using g_source_add_poll using the socket FD as returned by socket(AF_INET, SOCK_STREAM, 0). Under Windows polling does not seem to be working. If I change to using g_io_channel_win32_new_socket and g_io_add_watch then I can connect clients.
IIRC there's a different handling in win. Sockets have their own fd, but
it's not pollable...

Any suggestions?
Trash windoze :-)
Or use an abstraction library (GNet?).

BYtE,
 Diego.
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux