diff options
author | Guido van Rossum <guido@python.org> | 2002-12-26 18:22:54 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-12-26 18:22:54 (GMT) |
commit | 9a40c1c2994f596b6a769201b71c54e0530e7220 (patch) | |
tree | f44a7f77b32888e9d62f85593eb15384afc7e83d /Lib/asyncore.py | |
parent | 9647b5240cb407a04d09dba0aa54058f3a07f460 (diff) | |
download | cpython-9a40c1c2994f596b6a769201b71c54e0530e7220.zip cpython-9a40c1c2994f596b6a769201b71c54e0530e7220.tar.gz cpython-9a40c1c2994f596b6a769201b71c54e0530e7220.tar.bz2 |
Add XXX about Winsock error values
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 2c94813..90be4d3 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -302,6 +302,7 @@ class dispatcher: def connect(self, address): self.connected = 0 err = self.socket.connect_ex(address) + # XXX Should interpret Winsock return values if err in (EINPROGRESS, EALREADY, EWOULDBLOCK): return if err in (0, EISCONN): |