Commit 1fe6f342 by Marcus Winter

mtapi_network_c: fixed problem with linux, port cannot be reused immediately

parent 8e973926
...@@ -181,7 +181,7 @@ void NetworkTaskTest::TestCancel() { ...@@ -181,7 +181,7 @@ void NetworkTaskTest::TestCancel() {
float argument = 1.0f; float argument = 1.0f;
float result; float result;
mtapi_network_plugin_initialize("127.0.0.1", 12345, 5, mtapi_network_plugin_initialize("127.0.0.1", 12346, 5,
4 * 3 + 32, &status); 4 * 3 + 32, &status);
MTAPI_CHECK_STATUS(status); MTAPI_CHECK_STATUS(status);
...@@ -198,7 +198,7 @@ void NetworkTaskTest::TestCancel() { ...@@ -198,7 +198,7 @@ void NetworkTaskTest::TestCancel() {
NETWORK_DOMAIN, NETWORK_DOMAIN,
NETWORK_LOCAL_JOB, NETWORK_LOCAL_JOB,
NETWORK_REMOTE_JOB, NETWORK_REMOTE_JOB,
"127.0.0.1", 12345, "127.0.0.1", 12346,
&status); &status);
MTAPI_CHECK_STATUS(status); MTAPI_CHECK_STATUS(status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment