Problem with socket.py

Robert Amesz rcameszREMOVETHIS at dds.removethistoo.nl
Thu May 3 21:11:46 EDT 2001


Laurent Pointal wrote:

> [sockets]
>
> Exception in thread Thread-603:
> Traceback (most recent call last):
>
> [...]
>
>   File "c:\python21\lib\socket.py", line 233, in readline
>     new = self._sock.recv(self._rbufsize)
> AttributeError: 'int' object has no attribute 'recv'

Ah, I recognize that strange error: it just means the socket has been  
closed.

I'll think I'll post my own notes on non-blocking sockets here over the 
weekend.


Robert Amesz



More information about the Python-list mailing list