mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-20 11:01:08 +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:
6 files changed
+18
-10
No files matched your search
@@ -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