Reduce wait time for UDP to offset retransmission delays

This commit is contained in:
Cameron Gutman 2019-07-30 21:48:48 -07:00
parent efdcaed4c1
commit fdb033f550

View File

@ -362,7 +362,7 @@ PortTestStatus TestPort(PSOCKADDR_STORAGE addr, int proto, int port, bool withSe
FD_ZERO(&fds);
FD_SET(serverSock, &fds);
timeout.tv_sec = 3;
timeout.tv_sec = 2;
err = select(0, &fds, nullptr, nullptr, &timeout);
if (err == 1) {
// Our FD was signalled for data available