set tcp timeouts for send/receive

This commit is contained in:
Erwin Coumans
2020-03-20 16:58:18 -07:00
parent 99c7c32b10
commit 4cbc8c2a8d
2 changed files with 3 additions and 1 deletions

View File

@@ -159,7 +159,7 @@ void TCPThreadFunc(void* userPtr, void* lsMemory)
socket.Listen("localhost", args->m_port);
socket.SetReceiveTimeout(100, 100);// (1, 0);
socket.SetSendTimeout(100, 100);
int curNumErr = 0;