tcp.4 (137139) | tcp.4 (149454) |
---|---|
1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | 1.\" Copyright (c) 1983, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 |
33.\" $FreeBSD: head/share/man/man4/tcp.4 137139 2004-11-02 22:22:22Z andre $ | 33.\" $FreeBSD: head/share/man/man4/tcp.4 149454 2005-08-25 13:47:41Z glebius $ |
34.\" | 34.\" |
35.Dd November 2, 2004 | 35.Dd August 25, 2005 |
36.Dt TCP 4 37.Os 38.Sh NAME 39.Nm tcp 40.Nd Internet Transmission Control Protocol 41.Sh SYNOPSIS 42.In sys/types.h 43.In sys/socket.h --- 38 unchanged lines hidden (view full) --- 82.Xr bind 2 83system call. 84Only passive sockets may use the 85.Xr accept 2 86call to accept incoming connections. 87Only active sockets may use the 88.Xr connect 2 89call to initiate connections. | 36.Dt TCP 4 37.Os 38.Sh NAME 39.Nm tcp 40.Nd Internet Transmission Control Protocol 41.Sh SYNOPSIS 42.In sys/types.h 43.In sys/socket.h --- 38 unchanged lines hidden (view full) --- 82.Xr bind 2 83system call. 84Only passive sockets may use the 85.Xr accept 2 86call to accept incoming connections. 87Only active sockets may use the 88.Xr connect 2 89call to initiate connections. |
90.Tn TCP 91also supports a more datagram-like mode, called Transaction 92.Tn TCP , 93which is described in 94.Xr ttcp 4 . | |
95.Pp 96Passive sockets may 97.Dq underspecify 98their location to match 99incoming connection requests from multiple networks. 100This technique, termed 101.Dq "wildcard addressing" , 102allows a single --- 57 unchanged lines hidden (view full) --- 160.No sender- Ns Tn TCP 161will set the 162.Dq push 163bit, and begin transmission immediately (if permitted) at the end of 164every user call to 165.Xr write 2 166or 167.Xr writev 2 . | 90.Pp 91Passive sockets may 92.Dq underspecify 93their location to match 94incoming connection requests from multiple networks. 95This technique, termed 96.Dq "wildcard addressing" , 97allows a single --- 57 unchanged lines hidden (view full) --- 155.No sender- Ns Tn TCP 156will set the 157.Dq push 158bit, and begin transmission immediately (if permitted) at the end of 159every user call to 160.Xr write 2 161or 162.Xr writev 2 . |
168The 169.Dv TCP_NOPUSH 170option is provided to allow servers to easily make use of Transaction 171.Tn TCP 172(see 173.Xr ttcp 4 ) . | |
174When this option is set to a non-zero value, 175.Tn TCP 176will delay sending any data at all until either the socket is closed, 177or the internal send buffer is filled. 178.It Dv TCP_MD5SIG 179This option enables the use of MD5 digests (also known as TCP-MD5) 180on writes to the specified socket. 181In the current release, only outgoing traffic is digested; --- 354 unchanged lines hidden --- | 163When this option is set to a non-zero value, 164.Tn TCP 165will delay sending any data at all until either the socket is closed, 166or the internal send buffer is filled. 167.It Dv TCP_MD5SIG 168This option enables the use of MD5 digests (also known as TCP-MD5) 169on writes to the specified socket. 170In the current release, only outgoing traffic is digested; --- 354 unchanged lines hidden --- |