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
e2f834d2
Commit
e2f834d2
authored
Sep 27, 2010
by
Martin Sustrik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZMQ_FD and ZMQ_EVENTS documentation added
parent
30c1cba4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
zmq_getsockopt.txt
doc/zmq_getsockopt.txt
+30
-0
No files found.
doc/zmq_getsockopt.txt
View file @
e2f834d2
...
@@ -199,6 +199,36 @@ Default value:: 0
...
@@ -199,6 +199,36 @@ Default value:: 0
Applicable socket types:: all
Applicable socket types:: all
ZMQ_FD: Retrieve file descriptor associated with the socket
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 'ZMQ_FD' option shall retrieve file descriptor associated with the 0MQ
socket. The descriptor can be used to integrate 0MQ socket into an existing
event loop. It should never be used for anything else than polling -- such as
reading or writing. The descriptor signals edge-triggered IN event when
something has happened within the 0MQ socket. It does not necessarily mean that
the messages can be read or written. Check ZMQ_EVENTS option to find out whether
the 0MQ socket is readable or writeable.
[horizontal]
Option value type:: int on POSIX systems, SOCKET on Windows
Option value unit:: N/A
Default value:: N/A
Applicable socket types:: all
ZMQ_EVENTS: Check whether socket is readable and/or writeable
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The 'ZMQ_EVENTS' option shall retrieve event flags for the specified socket.
If a message can be read from the socket ZMQ_POLLIN flag is set. If message can
be written to the socket ZMQ_POLLOUT flag is set.
[horizontal]
Option value type:: uint32_t
Option value unit:: N/A (flags)
Default value:: N/A
Applicable socket types:: all
RETURN VALUE
RETURN VALUE
------------
------------
The _zmq_getsockopt()_ function shall return zero if successful. Otherwise it
The _zmq_getsockopt()_ function shall return zero if successful. Otherwise 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