Problem using SocketServer.ThreadingTCPServer on Windows?

Michael Ströder michael at stroeder.com
Thu May 31 16:12:32 CEST 2001


Robert Amesz wrote:
> 
> 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.
> 
> 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.

If it's Python 2.1 it could be this one:
http://sourceforge.net/tracker/index.php?func=detail&aid=417845&group_id=5470&atid=105470

Ciao, Michael.



More information about the Python-list mailing list