diff options
-rw-r--r-- | dpd/src/Measure.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dpd/src/Measure.py b/dpd/src/Measure.py index 5d0da65..d4b1d9e 100644 --- a/dpd/src/Measure.py +++ b/dpd/src/Measure.py @@ -44,6 +44,7 @@ class Measure: def receive_tcp(self): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) + s.settimeout(4) s.connect(('localhost', self.port)) logging.debug("Send version") |