Problem using SocketServer.ThreadingTCPServer on Windows?
Robert Amesz
rcameszREMOVETHIS at dds.removethistoo.nl
Thu May 31 09:14:20 EDT 2001
Xtian wrote:
> AttributeError: 'int' object has no attribute 'send'
>
> It seems that after the second print, for no (obvious to me)
> reason, the conn object (which has reported it is a socket twice)
> is suddenly an int.
>
> What am I missing?
Using a closed socket will raise that cryptic exception. As I've not
used SocketServer before it's hard for me to tell *why* the socket has
been closed.
Robert Amesz
More information about the Python-list
mailing list