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
478e4244
Commit
478e4244
authored
Feb 01, 2019
by
Simon Giesecke
Committed by
Simon Giesecke
Feb 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: no documentation on zmq_socket_monitor_versioned
Solution: add initial version of documentation
parent
d8b5204f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
zmq_socket_monitor.txt
doc/zmq_socket_monitor.txt
+6
-1
zmq_socket_monitor_versioned.txt
doc/zmq_socket_monitor_versioned.txt
+0
-0
No files found.
doc/zmq_socket_monitor.txt
View file @
478e4244
...
...
@@ -21,6 +21,11 @@ method creates a 'ZMQ_PAIR' socket and binds that to the specified
inproc:// 'endpoint'. To collect the socket events, you must create
your own 'ZMQ_PAIR' socket, and connect that to the endpoint.
Note that there is also a DRAFT function linkzmq:zmq_socket_monitor_versioned[3],
which allows to subscribe to events that provide more information.
Calling zmq_socket_monitor is equivalent to calling 'zmq_socket_monitor_versioned'
with the 'event_version' parameter set to 1, with the exception of error cases.
The 'events' argument is a bitmask of the socket events you wish to
monitor, see 'Supported events' below. To monitor all events, use the
event value ZMQ_EVENT_ALL. NOTE: as new events are added, the catch-all
...
...
@@ -31,7 +36,7 @@ guarantee compatibility with future versions.
Each event is sent as two frames. The first frame contains an event
number (16 bits), and an event value (32 bits) that provides additional
data according to the event number. The second frame contains a string
that specifies the affected
TCP or IPC
endpoint.
that specifies the affected endpoint.
----
The _zmq_socket_monitor()_ method supports only connection-oriented
...
...
doc/zmq_socket_monitor_versioned.txt
0 → 100644
View file @
478e4244
This diff is collapsed.
Click to expand it.
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