From 5bf257818dbde9953332f7bbced20977ed3eda75 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 14 Jan 2016 17:50:36 -0700 Subject: [PATCH] protocols/pc_rpc: use timeout only for connecting. Closes #161 --- artiq/protocols/pc_rpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/artiq/protocols/pc_rpc.py b/artiq/protocols/pc_rpc.py index 735dcd9fb..6d9feadb5 100644 --- a/artiq/protocols/pc_rpc.py +++ b/artiq/protocols/pc_rpc.py @@ -292,6 +292,7 @@ class BestEffortClient: else: self.__socket = socket.create_connection( (self.__host, self.__port), timeout) + self.__socket.settimeout(None) self.__socket.sendall(_init_string) server_identification = self.__recv() target_name = _validate_target_name(self.__target_name,