handle errno 10035
authorecdsa <ecdsa@github>
Sat, 27 Apr 2013 08:22:01 +0000 (10:22 +0200)
committerecdsa <ecdsa@github>
Sat, 27 Apr 2013 08:22:01 +0000 (10:22 +0200)
lib/interface.py

index 8a89ce3..490a161 100644 (file)
@@ -337,7 +337,8 @@ class Interface(threading.Thread):
                 except ssl.SSLError:
                     timeout = True
                 except socket.error, err:
-                    if err.errno == 11:
+                    if err.errno in [11, 10035]:
+                        print_log("socket errno", err.errno)
                         time.sleep(0.1)
                         continue
                     else: