From 56619463ac26dc6c3e576d2fbf6b544eebeb5148 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Sun, 20 May 2012 11:24:59 +0200 Subject: Imported Upstream version 2.2.0 --- doc/zmq_tcp.html | 169 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 100 insertions(+), 69 deletions(-) (limited to 'doc/zmq_tcp.html') diff --git a/doc/zmq_tcp.html b/doc/zmq_tcp.html index cf5b7ed..03680ae 100644 --- a/doc/zmq_tcp.html +++ b/doc/zmq_tcp.html @@ -2,15 +2,28 @@ "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> - - + + zmq_tcp(7) - +
+

SYNOPSIS

TCP is an ubiquitous, reliable, unicast transport. When connecting distributed applications over a network with ØMQ, using the TCP transport will likely be your first choice.

+
+

ADDRESSING

A ØMQ address string consists of two parts as follows: transport://endpoint. The transport part specifies the underlying transport protocol to use, and for the TCP transport shall be set to tcp. The meaning of the endpoint part for the TCP transport is defined below.

-

Assigning a local address to a socket

+
+

Assigning a local address to a socket

When assigning a local address to a socket using zmq_bind() with the tcp transport, the endpoint shall be interpreted as an interface followed by a colon and the TCP port number to use.

@@ -626,7 +646,9 @@ names exist, thus only the primary IPv4 address may be used to specify an interface.
-

Connecting a socket

+
+
+

Connecting a socket

When connecting a socket to a peer address using zmq_connect() with the tcp transport, the endpoint shall be interpreted as a peer address followed by a colon and the TCP port number to use.

@@ -644,6 +666,9 @@ The IPv4 address of the peer, in its numeric representation.
+
+ +

WIRE FORMAT

ØMQ messages are transmitted over TCP in frames consisting of an encoded @@ -703,6 +728,8 @@ exceeding 254 octets:

+-+-+-+-+-+-+-+ ...
+ +

EXAMPLES

@@ -729,6 +756,8 @@ rc = zmq_connect(socket, "tcp://server1:5555"); assert (rc == 0);
+ +

SEE ALSO

zmq_bind(3) @@ -738,17 +767,19 @@ assert (rc == 0); zmq_inproc(7) zmq(7)

+
+

AUTHORS

-

This ØMQ manual page was written by Martin Sustrik <sustrik@250bpm.com> and -Martin Lucina <mato@kotelna.sk>.

+

This manual page was written by the ØMQ community.

+

-- cgit v1.2.3