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; }