From 7cbd41ca6e49bf064ff61d7c1e8cae47150be328 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 22 Jun 2018 15:53:11 -0300 Subject: [PATCH] Use ezsockets timeout in select --- src/ezsockets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ezsockets.cpp b/src/ezsockets.cpp index 9ef7267b02..302584ca88 100644 --- a/src/ezsockets.cpp +++ b/src/ezsockets.cpp @@ -62,7 +62,7 @@ EzSockets::EzSockets() blocking = true; scks = new fd_set; times = new timeval; - times->tv_sec = 0; + times->tv_sec = timeoutSeconds; times->tv_usec = 0; state = skDISCONNECTED; }