Commit 1b733e75 authored by Luca Boccassi's avatar Luca Boccassi

Problem: zmq_connect doc says inproc has to be bound first

Solution: fix it, as since 4.2.0 there is no ordering constraint
anymore
Fixes: #2854
parent dba4ef28
...@@ -38,9 +38,8 @@ immediately but as needed by 0MQ. Thus a successful call to _zmq_connect()_ ...@@ -38,9 +38,8 @@ immediately but as needed by 0MQ. Thus a successful call to _zmq_connect()_
does not mean that the connection was or could actually be established. does not mean that the connection was or could actually be established.
Because of this, for most transports and socket types the order in which Because of this, for most transports and socket types the order in which
a 'server' socket is bound and a 'client' socket is connected to it does not a 'server' socket is bound and a 'client' socket is connected to it does not
matter. The first exception is when using the inproc:// transport: you must matter. The _ZMQ_PAIR_ sockets are an exception, as they do not automatically
call _zmq_bind()_ before calling _zmq_connect()_. The second exception are reconnect to endpoints.
_ZMQ_PAIR_ sockets, which do not automatically reconnect to endpoints.
NOTE: following a _zmq_connect()_, for socket types except for ZMQ_ROUTER, NOTE: following a _zmq_connect()_, for socket types except for ZMQ_ROUTER,
the socket enters its normal 'ready' state. By contrast, following a the socket enters its normal 'ready' state. By contrast, following a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment