summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-12-26 18:22:54 (GMT)
committerGuido van Rossum <guido@python.org>2002-12-26 18:22:54 (GMT)
commit9a40c1c2994f596b6a769201b71c54e0530e7220 (patch)
treef44a7f77b32888e9d62f85593eb15384afc7e83d /Lib/asyncore.py
parent9647b5240cb407a04d09dba0aa54058f3a07f460 (diff)
downloadcpython-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.py1
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):