mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-03 03:49:21 +00:00
set tcp timeouts for send/receive
This commit is contained in:
@@ -197,6 +197,8 @@ struct RemoteGUIHelperTCPInternalData
|
||||
return true;
|
||||
|
||||
m_tcpSocket.Initialize();
|
||||
m_tcpSocket.SetReceiveTimeout(100, 100);// (1, 0);
|
||||
m_tcpSocket.SetSendTimeout(100, 100);
|
||||
|
||||
m_isConnected = m_tcpSocket.Open(m_hostName.c_str(), m_port);
|
||||
if (m_isConnected)
|
||||
|
||||
Reference in New Issue
Block a user