Print this page
4398 Extra spaces in man pages
Reviewed by: Marcel Telka <marcel@telka.sk>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man7p/tcp.7p
          +++ new/usr/src/man/man7p/tcp.7p
   1    1  '\" te
   2    2  .\" Copyright (c) 2006, Sun Microsystems, Inc. All Rights Reserved.
   3    3  .\" Copyright (c) 2011 Nexenta Systems, Inc. All rights reserved.
   4    4  .\" Copyright 1989 AT&T
   5    5  .\" 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.
   6    6  .\" 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.
   7    7  .\" 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]
   8      -.TH TCP 7P "Jun 30, 2006"
        8 +.TH TCP 7P "Mar 17, 2014"
   9    9  .SH NAME
  10   10  tcp, TCP \- Internet Transmission Control Protocol
  11   11  .SH SYNOPSIS
  12   12  .LP
  13   13  .nf
  14   14  \fB#include <sys/socket.h>\fR
  15   15  .fi
  16   16  
  17   17  .LP
  18   18  .nf
↓ open down ↓ 71 lines elided ↑ open up ↑
  90   90  to \fBINADDR_ANY\fR or unspecified address and port X, no other socket can bind
  91   91  to port X, regardless of the binding address. This special consideration of
  92   92  \fBINADDR_ANY\fR and unspecified address can be changed using the socket option
  93   93  \fBSO_REUSEADDR\fR. If \fBSO_REUSEADDR\fR is set on a socket doing a bind, IPv4
  94   94  \fBINADDR_ANY\fR and IPv6 unspecified address do not compare as equal to any IP
  95   95  address. This means that as long as the two sockets are not both bound to
  96   96  \fBINADDR_ANY\fR/unspecified address or the same IP address, the two sockets
  97   97  can be bound to the same port.
  98   98  .sp
  99   99  .LP
 100      - If an application does not want to allow another socket  using the
      100 +If an application does not want to allow another socket  using the
 101  101  \fBSO_REUSEADDR\fR option to bind to a port its socket is bound to, the
 102  102  application can set the socket level option \fBSO_EXCLBIND\fR on a socket. The
 103  103  option values of 0 and 1 mean enabling and disabling the option respectively.
 104  104  Once this option is enabled on a socket, no other socket can be bound to the
 105  105  same port.
 106  106  .sp
 107  107  .LP
 108  108  Once a connection has been established, data can be exchanged using the
 109  109  \fBread\fR(2) and \fBwrite\fR(2) system calls.
 110  110  .sp
↓ open down ↓ 375 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX