Skip to content

Commit 1f5cbd7

Browse files
authored
Merge pull request #758 from zeromq/fix-747
Pub/Sub sample binds * not localhost
2 parents 6b056d5 + aa05257 commit 1f5cbd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pub-sub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Time for an example. This example is very simple, and follows these rules.
7777
{
7878
Console.WriteLine("Publisher socket binding...");
7979
pubSocket.Options.SendHighWatermark = 1000;
80-
pubSocket.Bind("tcp://localhost:12345");
80+
pubSocket.Bind("tcp://*:12345");
8181

8282
for (var i = 0; i < 100; i++)
8383
{

0 commit comments

Comments
 (0)