tcp fixes and allow to run graphics server on mainloop (for Mac)

This commit is contained in:
Erwin Coumans
2020-03-20 16:50:44 -07:00
parent 911355fe62
commit 99c7c32b10
8 changed files with 161 additions and 18 deletions

View File

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