summaryrefslogtreecommitdiff
path: root/usr/src/man/man7p/tcp.7p
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man7p/tcp.7p')
-rw-r--r--usr/src/man/man7p/tcp.7p27
1 files changed, 10 insertions, 17 deletions
diff --git a/usr/src/man/man7p/tcp.7p b/usr/src/man/man7p/tcp.7p
index 578bc2d474..93773dce81 100644
--- a/usr/src/man/man7p/tcp.7p
+++ b/usr/src/man/man7p/tcp.7p
@@ -1,10 +1,11 @@
'\" te
.\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
+.\" Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
.\" Copyright 1989 AT&T
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH tcp 7P "30 June 2006" "SunOS 5.11" "Protocols"
+.TH TCP 7P "Jun 30, 2006"
.SH NAME
tcp, TCP \- Internet Transmission Control Protocol
.SH SYNOPSIS
@@ -344,6 +345,14 @@ integer in milliseconds. The value zero indicates that TCP should never time
out and abort the connection when probing. The system default is controlled by
the TCP ndd parameter tcp_keepalive_abort_interval. The default is eight
minutes.
+.sp
+.LP
+socket options TCP_KEEPIDLE, TCP_KEEPCNT and TCP_KEEPINTVL are also supported
+for compatibility with other Unix Flavors. TCP_KEEPIDLE option specifies the
+interval in seconds for sending out the first keep-alive probe. TCP_KEEPCNT
+specifies the number of keep-alive probes to be sent before aborting the
+connection in the event of no response from peer. TCP_KEEPINTVL specifies the
+interval in seconds between successive keep-alive probes.
.SH SEE ALSO
.sp
.LP
@@ -380,95 +389,79 @@ Park, CA., September 1981.
A socket operation may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEISCONN\fR\fR
.ad
.RS 17n
-.rt
A \fBconnect()\fR operation was attempted on a socket on which a
\fBconnect()\fR operation had already been performed.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBETIMEDOUT\fR\fR
.ad
.RS 17n
-.rt
A connection was dropped due to excessive retransmissions.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBECONNRESET\fR\fR
.ad
.RS 17n
-.rt
The remote peer forced the connection to be closed (usually because the remote
machine has lost state information about the connection due to a crash).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBECONNREFUSED\fR\fR
.ad
.RS 17n
-.rt
The remote peer actively refused connection establishment (usually because no
process is listening to the port).
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEADDRINUSE\fR\fR
.ad
.RS 17n
-.rt
A \fBbind()\fR operation was attempted on a socket with a network address/port
pair that has already been bound to another socket.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEADDRNOTAVAIL\fR\fR
.ad
.RS 17n
-.rt
A \fBbind()\fR operation was attempted on a socket with a network address for
which no network interface exists.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 17n
-.rt
A \fBbind()\fR operation was attempted with a "reserved" port number and the
effective user \fBID\fR of the process was not the privileged user.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOBUFS\fR\fR
.ad
.RS 17n
-.rt
The system ran out of memory for internal data structures.
.RE