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
34d78541
Commit
34d78541
authored
Mar 23, 2011
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Obsolete constants ZMQ_UPSTREAM and ZMQ_DOWNSTREAM removed
Signed-off-by:
Martin Sustrik
<
sustrik@250bpm.com
>
parent
dee5f650
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
zmq_streamer.cpp
devices/zmq_streamer/zmq_streamer.cpp
+2
-2
zmq.h
include/zmq.h
+0
-2
No files found.
devices/zmq_streamer/zmq_streamer.cpp
View file @
34d78541
...
...
@@ -54,8 +54,8 @@ int main (int argc, char *argv [])
// TODO: make the number of I/O threads configurable.
zmq
::
context_t
ctx
(
1
);
zmq
::
socket_t
in_socket
(
ctx
,
ZMQ_
UPSTREAM
);
zmq
::
socket_t
out_socket
(
ctx
,
ZMQ_
DOWNSTREAM
);
zmq
::
socket_t
in_socket
(
ctx
,
ZMQ_
PULL
);
zmq
::
socket_t
out_socket
(
ctx
,
ZMQ_
PUSH
);
int
n
=
0
;
while
(
true
)
{
...
...
include/zmq.h
View file @
34d78541
...
...
@@ -181,8 +181,6 @@ ZMQ_EXPORT int zmq_term (void *context);
#define ZMQ_PUSH 8
#define ZMQ_XPUB 9
#define ZMQ_XSUB 10
#define ZMQ_UPSTREAM ZMQ_PULL
/* Old alias, remove in 3.x */
#define ZMQ_DOWNSTREAM ZMQ_PUSH
/* Old alias, remove in 3.x */
/* Socket options. */
#define ZMQ_HWM 1
...
...
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