Re: g_io_add_watch, g_io_channel_read stops working after sometime.

2007-04-20 Thread Rehan
Hi James, The problems seems to be solved.. I had to return TRUE from my callback function read_request() and listentosocket is the channel. listentosocket = g_io_channel_unix_new (global_sock); thanks for your reply and yes i am now listening to G_IO_HUP also... regards, Rehan. James

Re: g_io_add_watch problem on OSX

2007-04-20 Thread Rehan
hey, i am running through same problem but for me it worked whole way till now and suddenly it stopped working ... it takes only 3 request from the client and then starts ignoring client messages . for more details my post:

g_io_add_watch, g_io_channel_read stops working after sometime.

2007-04-18 Thread Rehan
Hi, I am trying to write a program based on client-server architecture. I need only one client connection hence i am first listening to client then accept() is called. after accept() i call g_io_channel_unix_new () and then g_io_add_watch() and later in the function i use g_io_channel_read to