Kaydet (Commit) 9a40c1c2 authored tarafından Guido van Rossum's avatar Guido van Rossum

Add XXX about Winsock error values

üst 9647b524
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment