Merge pull request #1105 from hintjens/master

Fixed typo in doc example
This commit is contained in:
Richard Newton 2014-06-24 10:38:46 +01:00
commit 407843374d

View File

@ -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");