Skip to content

Commit 1b733e7

Browse files
committed
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
1 parent dba4ef2 commit 1b733e7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

doc/zmq_connect.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ immediately but as needed by 0MQ. Thus a successful call to _zmq_connect()_
3838
does not mean that the connection was or could actually be established.
3939
Because of this, for most transports and socket types the order in which
4040
a 'server' socket is bound and a 'client' socket is connected to it does not
41-
matter. The first exception is when using the inproc:// transport: you must
42-
call _zmq_bind()_ before calling _zmq_connect()_. The second exception are
43-
_ZMQ_PAIR_ sockets, which do not automatically reconnect to endpoints.
41+
matter. The _ZMQ_PAIR_ sockets are an exception, as they do not automatically
42+
reconnect to endpoints.
4443

4544
NOTE: following a _zmq_connect()_, for socket types except for ZMQ_ROUTER,
4645
the socket enters its normal 'ready' state. By contrast, following a

0 commit comments

Comments
 (0)