Changeset View
Changeset View
Standalone View
Standalone View
share/man/man4/tcp.4
Show All 28 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | .\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd August 1, 2022 | .Dd August 1, 2022 | ||||
tuexen: Don't forget to bump the date. | |||||
.Dt TCP 4 | .Dt TCP 4 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm tcp | .Nm tcp | ||||
.Nd Internet Transmission Control Protocol | .Nd Internet Transmission Control Protocol | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.In sys/types.h | .In sys/types.h | ||||
.In sys/socket.h | .In sys/socket.h | ||||
▲ Show 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | |||||
small amounts of output to be sent in a single packet once | small amounts of output to be sent in a single packet once | ||||
an acknowledgement is received. | an acknowledgement is received. | ||||
For a small number of clients, such as window systems | For a small number of clients, such as window systems | ||||
that send a stream of mouse events which receive no replies, | that send a stream of mouse events which receive no replies, | ||||
this packetization may cause significant delays. | this packetization may cause significant delays. | ||||
The boolean option | The boolean option | ||||
.Dv TCP_NODELAY | .Dv TCP_NODELAY | ||||
defeats this algorithm. | defeats this algorithm. | ||||
.It Dv TCP_MAXSEG | .It Dv TCP_MAXSEG | ||||
By default, a sender- and | By default, a sender- and | ||||
.No receiver- Ns Tn TCP | .No receiver- Ns Tn TCP | ||||
will negotiate among themselves to determine the maximum segment size | will negotiate among themselves to determine the maximum segment size | ||||
to be used for each connection. | to be used for each connection. | ||||
The | The | ||||
.Dv TCP_MAXSEG | .Dv TCP_MAXSEG | ||||
option allows the user to determine the result of this negotiation, | option allows the user to determine the result of this negotiation, | ||||
and to reduce it if desired. | and to reduce it if desired. | ||||
.It Dv TCP_MAXUNACKTIME | |||||
This | |||||
.Xr setsockopt 2 | |||||
option accepts an argument of | |||||
.Vt "u_int" | |||||
to set the per-socket interval, in seconds, in which the connection must | |||||
make progress. Progress is defined by at least 1 byte being acknowledged within | |||||
the set time period. If a connection fails to make progress, then the | |||||
.Tn TCP | |||||
stack will terminate the connection with a reset. Note that the default | |||||
value for this is zero which indicates no progress checks should be made. | |||||
.It Dv TCP_NOOPT | .It Dv TCP_NOOPT | ||||
.Tn TCP | .Tn TCP | ||||
usually sends a number of options in each packet, corresponding to | usually sends a number of options in each packet, corresponding to | ||||
various | various | ||||
.Tn TCP | .Tn TCP | ||||
extensions which are provided in this implementation. | extensions which are provided in this implementation. | ||||
The boolean option | The boolean option | ||||
.Dv TCP_NOOPT | .Dv TCP_NOOPT | ||||
▲ Show 20 Lines • Show All 793 Lines • Show Last 20 Lines |
Don't forget to bump the date.