We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2659b68 commit 43e634cCopy full SHA for 43e634c
Source/MatlabSocket.cpp
@@ -23,7 +23,7 @@ int MatlabSocket::listen(int port, String host)
23
connection = new StreamingSocket();
24
connection->createListener(port); //empty string means use localhost address (127.0.0.1)
25
26
- if (connection->waitUntilReady(false, 500) != 1)
+ if (connection->waitUntilReady(true, 500) < 1)
27
{
28
LOGC("Could not connect.");
29
connection = nullptr;
0 commit comments