Skip to content

Commit

Permalink
Reduced socket timeout.
Browse files Browse the repository at this point in the history
Increases simulation speed from 0.50 to 0.96
  • Loading branch information
gabryelreyes committed Sep 26, 2023
1 parent a232640 commit ce0bd78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ArduinoNative/SocketServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ void SocketServer::process()
struct timeval timeout;

timeout.tv_sec = 0;
timeout.tv_usec = 10;
timeout.tv_usec = 0;

FD_ZERO(&readFDS);
FD_ZERO(&writeFDS);
Expand Down

0 comments on commit ce0bd78

Please sign in to comment.