Re: g_source_add_poll or g_io_add_watch in Windows?

2008-08-03 Thread Peter Robinson
r reading/writing and deleting. The original idea came from someone on this mailing list some time ago. Peter Robinson channel_watch.h /* Copyright (C) 2006, 2007, 2008 Peter Robinson Email: [EMAIL PROTECTED] This lib

Re: g_source_add_poll or g_io_add_watch in Windows?

2008-07-31 Thread Peter Robinson
Tor Lillqvist wrote: 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.

g_source_add_poll or g_io_add_watch in Windows?

2008-07-30 Thread Peter Robinson
g_source_add_poll and g_source_remove_poll. So my problem is either to make g_source_add_poll work under Windows or find an efficient way to be able to add and remove watches using channels. Any suggestions? Peter Robinson ___ gtk-list mailing list gtk-list