From 6069939003bb719f9bb7c15e3ab67c3d60391da5 Mon Sep 17 00:00:00 2001 From: ecdsa Date: Sat, 27 Apr 2013 10:22:01 +0200 Subject: [PATCH] handle errno 10035 --- lib/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/interface.py b/lib/interface.py index 8a89ce31a..490a1617b 100644 --- a/lib/interface.py +++ b/lib/interface.py @@ -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: