BSD 4_3 release
[unix-history] / usr / man / man4 / udp.4p
index 1c66df1..62324c6 100644 (file)
@@ -1,5 +1,11 @@
-.TH UDP 4P "25 March 1982"
-.UC
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)udp.4p      6.2 (Berkeley) 5/16/86
+.\"
+.TH UDP 4P "May 16, 1986"
+.UC 5
 .SH NAME
 udp \- Internet User Datagram Protocol
 .SH SYNOPSIS
 .SH NAME
 udp \- Internet User Datagram Protocol
 .SH SYNOPSIS
@@ -13,9 +19,9 @@ UDP is a simple, unreliable datagram protocol which is used
 to support the SOCK_DGRAM abstraction for the Internet
 protocol family.  UDP sockets are connectionless, and are
 normally used with the
 to support the SOCK_DGRAM abstraction for the Internet
 protocol family.  UDP sockets are connectionless, and are
 normally used with the
-.IR sendto (2)
+.I sendto 
 and
 and
-.IR recvfrom (2)
+.IR recvfrom 
 calls, though the
 .IR connect (2)
 call may also be used to fix the destination for future
 calls, though the
 .IR connect (2)
 call may also be used to fix the destination for future
@@ -37,6 +43,9 @@ may not be \*(lqconnected\*(rq to a TCP port).  In addition broadcast
 packets may be sent (assuming the underlying network supports
 this) by using a reserved \*(lqbroadcast address\*(rq; this address
 is network interface dependent.
 packets may be sent (assuming the underlying network supports
 this) by using a reserved \*(lqbroadcast address\*(rq; this address
 is network interface dependent.
+.PP
+Options at the IP transport level may be used with UDP; see
+.IR ip (4P).
 .SH DIAGNOSTICS
 A socket operation may fail with one of the following errors returned:
 .TP 15
 .SH DIAGNOSTICS
 A socket operation may fail with one of the following errors returned:
 .TP 15
@@ -64,4 +73,4 @@ when an attempt is made to create a
 socket with a network address for which no network interface
 exists.
 .SH SEE ALSO
 socket with a network address for which no network interface
 exists.
 .SH SEE ALSO
-intro(4N), inet(4F)
+getsockopt(2), recv(2), send(2), socket(2), intro(4N), inet(4F), ip(4P)