aboutsummaryrefslogtreecommitdiffstats
path: root/man7/udp.7
diff options
context:
space:
mode:
Diffstat (limited to 'man7/udp.7')
-rw-r--r--man7/udp.74
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/udp.7 b/man7/udp.7
index 243d313467..742471b143 100644
--- a/man7/udp.7
+++ b/man7/udp.7
@@ -5,7 +5,7 @@
.\" of the modification is added to the header.
.\" $Id: udp.7,v 1.7 2000/01/22 01:55:05 freitag Exp $
.\"
-.TH UDP 7 1998-10-02 "Linux" "Linux Programmer's Manual"
+.TH UDP 7 2008-08-08 "Linux" "Linux Programmer's Manual"
.SH NAME
udp \- User Datagram Protocol for IPv4
.SH SYNOPSIS
@@ -13,7 +13,7 @@ udp \- User Datagram Protocol for IPv4
.br
.B #include <netinet/in.h>
.sp
-.B udp_socket = socket(PF_INET, SOCK_DGRAM, 0);
+.B udp_socket = socket(AF_INET, SOCK_DGRAM, 0);
.SH DESCRIPTION
This is an implementation of the User Datagram Protocol
described in RFC\ 768.