Commit 62bb403e authored by Ian Barber's avatar Ian Barber

Merge pull request #995 from hintjens/master

Bumped ABI version to 4.0.0
parents 408dea79 cac0f983
......@@ -90,6 +90,7 @@ tests/test_connect_rid
tests/test_srcfd
tests/test_stream_disconnect
tests/test_proxy_chain
tests/test_bind_src_address
tests/test*.log
tests/test*.trs
src/platform.hpp*
......
......@@ -29,10 +29,10 @@ AC_SUBST(PACKAGE_VERSION)
# ZeroMQ versions 2.1.x: 1:0:0 (ABI version 1)
# ZeroMQ version 3.0: 2:0:0 (ABI version 2)
# ZeroMQ version 3.1: 3:0:0 (ABI version 3)
# ZeroMQ version 4.0: 4:0:1 (ABI version 4)
# ZeroMQ version 4.0: 4:0:0 (ABI version 4)
#
# libzmq -version-info current:revision:age
LTVER="4:0:1"
LTVER="4:0:0"
AC_SUBST(LTVER)
# Take a copy of original flags
......
......@@ -61,7 +61,7 @@ client_task (void *ctx)
sprintf (identity, "%04X-%04X", rand() % 0xFFFF, rand() % 0xFFFF);
rc = zmq_setsockopt (client, ZMQ_IDENTITY, identity, ID_SIZE); // includes '\0' as an helper for printf
assert (rc == 0);
rc = zmq_connect (client, "tcp://127.0.0.1:9999");
rc = zmq_connect (client, "tcp://127.0.0.1:5563");
assert (rc == 0);
zmq_pollitem_t items [] = { { client, 0, ZMQ_POLLIN, 0 }, { control, 0, ZMQ_POLLIN, 0 } };
......@@ -118,7 +118,7 @@ server_task (void *ctx)
// Frontend socket talks to clients over TCP
void *frontend = zmq_socket (ctx, ZMQ_ROUTER);
assert (frontend);
int rc = zmq_bind (frontend, "tcp://127.0.0.1:9999");
int rc = zmq_bind (frontend, "tcp://127.0.0.1:5563");
assert (rc == 0);
// Backend socket talks to workers over inproc
......
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 to comment