mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 08:46:44 +01:00
Merge pull request #816 from snikulov/fix_test_windows
windows: changed tcp port from glrpc assigned to unassigned one
This commit is contained in:
commit
6e1b1fef8f
@ -171,12 +171,12 @@ test_stream_to_stream (void)
|
|||||||
|
|
||||||
void *server = zmq_socket (ctx, ZMQ_STREAM);
|
void *server = zmq_socket (ctx, ZMQ_STREAM);
|
||||||
assert (server);
|
assert (server);
|
||||||
rc = zmq_bind (server, "tcp://127.0.0.1:9080");
|
rc = zmq_bind (server, "tcp://127.0.0.1:9070");
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
|
|
||||||
void *client = zmq_socket (ctx, ZMQ_STREAM);
|
void *client = zmq_socket (ctx, ZMQ_STREAM);
|
||||||
assert (client);
|
assert (client);
|
||||||
rc = zmq_connect (client, "tcp://localhost:9080");
|
rc = zmq_connect (client, "tcp://localhost:9070");
|
||||||
assert (rc == 0);
|
assert (rc == 0);
|
||||||
// It would be less surprising to get an empty message instead
|
// It would be less surprising to get an empty message instead
|
||||||
// of having to fetch the identity like this [PH 2013/06/27]
|
// of having to fetch the identity like this [PH 2013/06/27]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user