Re: socket question



On Sun, 5 Nov 2006, Chris Cole wrote:
hello all, i'm developing a client side gui whose main task is to
process data coming from a remote server. no matter how i try to get
around it (threads, queues, etc), gtk always hangs whenever i do a
call socketFoo.recv(). i know there has to be someone out there who
can help me with this....

Have you tried wrapping a GIOChannel around the socket file descriptor, then creating a watch?

http://developer.gnome.org/doc/API/2.0/glib/glib-IO-Channels.html

JV



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