usenet.20.evilspam at spamgourmet.com
Sun Aug 28 09:12:16 CEST 2005
Chris Spencer wrote:
> I've written a simple class to manage P2P socket connections. However,
> whenever I try to receive data, the socket raises an exception with the
> error message (11, 'Resource temporarily unavailable').
> My code's fairly straight-forward, with much of it right out of the
> Python docs, so I'm not sure what I'm doing wrong. You can see it all at
> Any help is immensely appreciated.
One more thing. The code I posted is also a complete demo of my problem.
Run the script in two different terminals simultaneously, like
script.py 8000 8001
script.py 8001 8000
They should then try talking to each other, reproducing the problem.
More information about the Python-list