Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
62bb403e
Commit
62bb403e
authored
May 01, 2014
by
Ian Barber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #995 from hintjens/master
Bumped ABI version to 4.0.0
parents
408dea79
cac0f983
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
.gitignore
.gitignore
+1
-0
configure.ac
configure.ac
+2
-2
test_proxy.cpp
tests/test_proxy.cpp
+2
-2
No files found.
.gitignore
View file @
62bb403e
...
...
@@ -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*
...
...
configure.ac
View file @
62bb403e
...
...
@@ -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
...
...
tests/test_proxy.cpp
View file @
62bb403e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment