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:
http://www.nabble.com/g_io_add_watch%2C-g_io_channel_read-stops-wor
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,
Reha
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 r