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
cfef0403
Commit
cfef0403
authored
Oct 18, 2017
by
Simon Giesecke
Committed by
Luca Boccassi
Oct 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify usage of zmq_close (#2792)
* Clarify usage of zmq_close
parent
2c247271
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
zmq_close.txt
doc/zmq_close.txt
+5
-1
No files found.
doc/zmq_close.txt
View file @
cfef0403
...
@@ -21,6 +21,10 @@ behaviour for discarding messages sent by the application with _zmq_send()_ but
...
@@ -21,6 +21,10 @@ behaviour for discarding messages sent by the application with _zmq_send()_ but
not yet physically transferred to the network depends on the value of the
not yet physically transferred to the network depends on the value of the
_ZMQ_LINGER_ socket option for the specified 'socket'.
_ZMQ_LINGER_ socket option for the specified 'socket'.
_zmq_close()_ must be called exactly once for each socket. If it is never called,
_zmq_ctx_term()_ will block forever. If it is called multiple times for the same
socket or if 'socket' does not point to a socket, the behaviour is undefined.
NOTE: The default setting of _ZMQ_LINGER_ does not discard unsent messages;
NOTE: The default setting of _ZMQ_LINGER_ does not discard unsent messages;
this behaviour may cause the application to block when calling _zmq_ctx_term()_.
this behaviour may cause the application to block when calling _zmq_ctx_term()_.
For details refer to linkzmq:zmq_setsockopt[3] and linkzmq:zmq_ctx_term[3].
For details refer to linkzmq:zmq_setsockopt[3] and linkzmq:zmq_ctx_term[3].
...
@@ -35,7 +39,7 @@ return `-1` and set 'errno' to one of the values defined below.
...
@@ -35,7 +39,7 @@ return `-1` and set 'errno' to one of the values defined below.
ERRORS
ERRORS
------
------
*ENOTSOCK*::
*ENOTSOCK*::
The provided 'socket' was
invalid
.
The provided 'socket' was
NULL
.
SEE ALSO
SEE ALSO
...
...
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