]> granicus.if.org Git - python/commitdiff
Add XXX about Winsock error values
authorGuido van Rossum <guido@python.org>
Thu, 26 Dec 2002 18:22:54 +0000 (18:22 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Dec 2002 18:22:54 +0000 (18:22 +0000)
Lib/asyncore.py

index 2c94813f25bae16da74d86339a81adba7475e9a8..90be4d342e5f60b70b0d57faba3ff0f785f883f2 100644 (file)
@@ -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):