socket.recvfrom() & sendto()
ron.l.johnson at home.com
Wed May 9 06:57:19 CEST 2001
>>Not to pick a nit, but doesn't execution stall at select() if
>>there is no data coming in to the server. For example: a small
>>chat server when no one happens to be chatting.
> Asyncronous event-driven programs of this sort typically solve
> this by initiating a time thread which then writes a wakeup connect
> through one of the file descriptors which select is listening on;
> the file descriptor is usually set up early for just this purpose.
Ahhh. So many details...
Ron Johnson, Jr. Home: ron.l.johnson at home.com
Jefferson, LA USA http://ronandheather.dhs.org
"Is Python better or worse than Perl?"
"Perl is worse than Python because people wanted it
worse." -Larry Wall, 10/14/1998
More information about the Python-list