Deleted Added
full compact
socket.2 (108317) socket.2 (108533)
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: @(#)socket.2 8.1 (Berkeley) 6/4/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: @(#)socket.2 8.1 (Berkeley) 6/4/93
33.\" $FreeBSD: head/lib/libc/sys/socket.2 108317 2002-12-27 12:15:40Z schweikh $
33.\" $FreeBSD: head/lib/libc/sys/socket.2 108533 2003-01-01 18:49:04Z schweikh $
34.\"
35.Dd November 24, 1997
36.Dt SOCKET 2
37.Os
38.Sh NAME
39.Nm socket
40.Nd create an endpoint for communication
41.Sh LIBRARY

--- 156 unchanged lines hidden (view full) ---

198in the global variable
199.Va errno .
200The protocols optionally keep sockets
201.Dq warm
202by forcing transmissions
203roughly every minute in the absence of other activity.
204An error is then indicated if no response can be
205elicited on an otherwise
34.\"
35.Dd November 24, 1997
36.Dt SOCKET 2
37.Os
38.Sh NAME
39.Nm socket
40.Nd create an endpoint for communication
41.Sh LIBRARY

--- 156 unchanged lines hidden (view full) ---

198in the global variable
199.Va errno .
200The protocols optionally keep sockets
201.Dq warm
202by forcing transmissions
203roughly every minute in the absence of other activity.
204An error is then indicated if no response can be
205elicited on an otherwise
206idle connection for a extended period (e.g. 5 minutes).
206idle connection for an extended period (e.g. 5 minutes).
207A
208.Dv SIGPIPE
209signal is raised if a process sends
210on a broken stream; this causes naive processes,
211which do not handle the signal, to exit.
212.Pp
213.Dv SOCK_SEQPACKET
214sockets employ the same system calls

--- 93 unchanged lines hidden ---
207A
208.Dv SIGPIPE
209signal is raised if a process sends
210on a broken stream; this causes naive processes,
211which do not handle the signal, to exit.
212.Pp
213.Dv SOCK_SEQPACKET
214sockets employ the same system calls

--- 93 unchanged lines hidden ---