Skip to content

Commit

Permalink
Use ezsockets timeout in select
Browse files Browse the repository at this point in the history
  • Loading branch information
nico-abram authored Jun 22, 2018
1 parent 3e4b2e5 commit 7cbd41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ezsockets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7cbd41c

Please sign in to comment.