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 > http://deadbeefbabe.org/paste/1525/0 > > Any help is immensely appreciated. > > Thanks, > Chris
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 and script.py 8001 8000 They should then try talking to each other, reproducing the problem. Chris -- http://mail.python.org/mailman/listinfo/python-list