mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
Merge pull request #678 from hintjens/master
Move away from port 8080 which is occupied on some boxes
This commit is contained in:
commit
0e7124b656
@ -173,12 +173,12 @@ test_stream_to_stream (void)
|
||||
|
||||
void *server = zmq_socket (ctx, ZMQ_STREAM);
|
||||
assert (server);
|
||||
rc = zmq_bind (server, "tcp://127.0.0.1:8080");
|
||||
rc = zmq_bind (server, "tcp://127.0.0.1:9080");
|
||||
assert (rc == 0);
|
||||
|
||||
void *client = zmq_socket (ctx, ZMQ_STREAM);
|
||||
assert (client);
|
||||
rc = zmq_connect (client, "tcp://localhost:8080");
|
||||
rc = zmq_connect (client, "tcp://localhost:9080");
|
||||
assert (rc == 0);
|
||||
// It would be less surprising to get an empty message instead
|
||||
// of having to fetch the identity like this [PH 2013/06/27]
|
||||
|
Loading…
x
Reference in New Issue
Block a user