mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-11 01:57:13 +00:00
Add an optional timeout to Socket::AcceptClient
* This is needed since sometimes on tests a localhost socket won't immediately be available to accept()
This commit is contained in:
@@ -895,7 +895,7 @@ void RenderDoc::BecomeRemoteServer(const char *listenhost, uint16_t port,
|
||||
|
||||
while(!killReplay())
|
||||
{
|
||||
Network::Socket *client = sock->AcceptClient(false);
|
||||
Network::Socket *client = sock->AcceptClient(0);
|
||||
|
||||
if(activeClientData && activeClientData->killServer)
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user