Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
a12f446c
Commit
a12f446c
authored
Aug 10, 2010
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified zmq_tcp(7) to emphasize wildcard interfaces
parent
b6cdd369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
zmq_tcp.txt
doc/zmq_tcp.txt
+5
-5
No files found.
doc/zmq_tcp.txt
View file @
a12f446c
...
...
@@ -30,10 +30,10 @@ colon and the TCP port number to use.
An 'interface' may be specified by either of the following:
* The
interface name as defined by the operating system
.
* The
wildcard `*`, meaning all available interfaces
.
* The primary IPv4 address assigned to the interface, in its numeric
representation.
* The
wildcard `*`, meaning that the interface address is unspecified
.
* The
interface name as defined by the operating system
.
NOTE: Interface names are not standardised in any way and should be assumed to
be arbitrary and platform dependent. On Win32 platforms no short interface
...
...
@@ -124,15 +124,15 @@ EXAMPLES
--------
.Assigning a local address to a socket
----
/* TCP port 5555 on all available interfaces */
rc = zmq_bind(socket, "tcp://*:5555");
assert (rc == 0);
/* TCP port 5555 on the local loopback interface on all platforms */
rc = zmq_bind(socket, "tcp://127.0.0.1:5555");
assert (rc == 0);
/* TCP port 5555 on the first ethernet network interface on Linux */
rc = zmq_bind(socket, "tcp://eth0:5555");
assert (rc == 0);
/* TCP port 5555 with an unspecified interface */
rc = zmq_bind(socket, "tcp://*:5555");
assert (rc == 0);
----
.Connecting a socket
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment