From 437db5a6c8348faa551a41b5ddb38072bd6924cb Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Thu, 29 Mar 2012 14:53:01 +0200 Subject: Documentation updates for 1.0.1 Signed-off-by: Martin Lucina --- doc/xs_setsockopt.txt | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'doc/xs_setsockopt.txt') diff --git a/doc/xs_setsockopt.txt b/doc/xs_setsockopt.txt index e9a7050..e07d9dd 100644 --- a/doc/xs_setsockopt.txt +++ b/doc/xs_setsockopt.txt @@ -126,7 +126,7 @@ XS_IDENTITY: Set socket identity ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'XS_IDENTITY' option shall set the identity of the specified 'socket'. Socket identity is used only by request/reply pattern. Namely, it can be used -in tandem with ROUTER socket to route messages to the peer with specific +in tandem with a 'XS_XREP' socket to route messages to the peer with specific identity. Identity should be at least one byte and at most 255 bytes long. Identities @@ -346,20 +346,19 @@ applications connect to and accept connections from both IPv4 and IPv6 hosts. Option value type:: int Option value unit:: boolean Default value:: 1 (true) -Applicable socket types:: all, when using TCP transports. +Applicable socket types:: all, when using TCP transport. -XS_KEEPALIVE: Use TCP keepalives -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +XS_KEEPALIVE: Enable transport keepalives +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -When set to `1` TCP keepalives are enabled. This option can be used to prevent -the infrastructure (VPNs and similar) to terminate connections with no activity. -The keepalive period as such is normally a global OS setting. +When set to `1`, this option enables use of protocol keepalives on the +'socket', if supported by the underlying transport protocol. [horizontal] Option value type:: int Option value unit:: boolean Default value:: 0 (false) -Applicable socket types:: all, when using TCP transports. +Applicable socket types:: all, when using TCP transport. RETURN VALUE -- cgit v1.2.3