0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-21 23:19:31 +08:00

Merge pull request #86 from hintjens/master

Fixed typo in doc example
This commit is contained in:
Pieter Hintjens 2014-06-23 20:25:54 +02:00
commit 678ad54a12
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -11,6 +11,8 @@
* Fixed #1015; race condition while connecting inproc sockets.
* Fixed #1088; assertion failure for WSAENOTSOCK on Windows.
0MQ version 4.0.4 stable, released on 2014/03/10
================================================

View File

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