mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 23:36:04 +00:00
Merge pull request #1105 from hintjens/master
Fixed typo in doc example
This commit is contained in:
commit
407843374d
@ -69,7 +69,7 @@ EXAMPLES
|
||||
.Assigning a local address to a socket
|
||||
----
|
||||
// TCP port 5555 on all available interfaces
|
||||
rc = zmq_bind(socket, "tcp:/// :5555");
|
||||
rc = zmq_bind(socket, "tcp://*:5555");
|
||||
assert (rc == 0);
|
||||
// TCP port 5555 on the local loop-back interface on all platforms
|
||||
rc = zmq_bind(socket, "tcp://127.0.0.1:5555");
|
||||
|
Loading…
x
Reference in New Issue
Block a user