On Fri, 22 Oct 2010 10:37:01 +0000 Juan Pablo L. <jpablolorenze...@hotmail.com> wrote: > i attached the code but did not make thru, here is the server code:
Something odd is going on. I see you are using GIOChannel not to do any reading, but in order to notify you that a connection is available. poll()/select() of course support this in unix-like systems, but I don't know if GIOChannel does (I have never tried). Possibly it only works if you set the channel as non-blocking with g_io_channel_set_flags() rather than by manipulating the file descriptor directly, which you have done. Again, I don't know. Sending snippets of code really isn't going to help. It could of course be other things, such as you not having initialized glib for threads correctly. You need to send the simplest test case which demonstrates the problem, in compilable form: given the nature of the problem you should be able to reproduce it with very simple code. Chris _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list