[Tutor] sockets
Richard Wilkins
rwilkins@bigpond.net.au
Wed, 4 Jul 2001 20:48:24 +0800
Howdy Brendon,
*schnip*
> basically, what needs to be done is have a socket that keepson
> receiving data
> while the rest of the program does it's thing. i.e. parse that data and
> handle UI events.
I _think_ what you want are non-blocking sockets. ie. the sockets do not
wait for the next lot of data to come through, they will merely raise an
exception. Take a look at Gordon McMillan's socket HOWTO -
http://www.mcmillan-inc.com/sock1.html, if this sounds like what you're
looking for. As for how IM programs work, I wouldn't have a clue ^_^
Hope this helps,
Andrew Wilkins