diff --git a/doc/zmq_tcp.txt b/doc/zmq_tcp.txt index 0185674d..4b85b534 100644 --- a/doc/zmq_tcp.txt +++ b/doc/zmq_tcp.txt @@ -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");