fixed: set the timeout to 10 seconds

This commit is contained in:
Bob van Loosen 2013-01-06 18:17:00 +01:00
parent c5e356c49e
commit c70e2c676b

View file

@ -185,7 +185,7 @@ void CBitVis::Process()
if (!m_socket.IsOpen() && GetTimeUs() - lastconnect > CONNECTINTERVAL) if (!m_socket.IsOpen() && GetTimeUs() - lastconnect > CONNECTINTERVAL)
{ {
if (m_socket.Open("192.168.88.117", 1337, 60000000) == FAIL) if (m_socket.Open("192.168.88.117", 1337, 10000000) == FAIL)
{ {
LogError("Failed to connect: %s", m_socket.GetError().c_str()); LogError("Failed to connect: %s", m_socket.GetError().c_str());
m_socket.Close(); m_socket.Close();