Re: [gtk-list] problem



You can use non-blocking communication and add a callback function that is
called when data is ready on the file.  I used it recently for a network
application and it worked very well.  Good luck.

Mike

On Sun, 21 Mar 1999, Patrick Cantell wrote:

> Hello, i'm working on a small telnet program which needs to wait for 
> data on a socket.. and because of having to call gtk_main, i can't think 
> of any ways to do this without threads
> 
> Can anyone think of a way to do this or will be forced to use threads?
> 
> Thanks
>  -Patrick
> Get Your Private, Free Email at http://www.hotmail.com
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
> 




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