From 978e33ba253a997b41b331b449b474a5cee7bccc Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 23 Jan 2012 08:54:31 +0100 Subject: Imported Upstream version 2.1.10 --- doc/zmq_tcp.html | 130 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 67 insertions(+), 63 deletions(-) (limited to 'doc/zmq_tcp.html') diff --git a/doc/zmq_tcp.html b/doc/zmq_tcp.html index 5256a84..cf5b7ed 100644 --- a/doc/zmq_tcp.html +++ b/doc/zmq_tcp.html @@ -2,28 +2,15 @@ "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.

@@ -610,9 +626,7 @@ 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.

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

WIRE FORMAT

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

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

EXAMPLES

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

SEE ALSO

zmq_bind(3) @@ -731,20 +738,17 @@ 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>.

-

-- cgit v1.2.3