From: ecdsa Date: Sat, 27 Apr 2013 08:22:01 +0000 (+0200) Subject: handle errno 10035 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=6069939003bb719f9bb7c15e3ab67c3d60391da5;p=electrum-nvc.git handle errno 10035 --- diff --git a/lib/interface.py b/lib/interface.py index 8a89ce3..490a161 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: