Stupid Q: asyncore and disconnecting?

Stephen Hansen stephen at cerebralmaelstrom.com
Thu Oct 5 04:22:44 CEST 2000


Okay, I am using asyncore to make a little server, and am wondering how to
go about detecting a client disconnected? When I 'telnet' into it, then
close the connection, the server doesn't know its closed, each read/poll
still receives just balnk data..... and, shouldn't it not try to read if
there is nothing to be read?

Thanks. :)

--S



More information about the Python-list mailing list