diff options
Diffstat (limited to 'man7/tcp.7')
| -rw-r--r-- | man7/tcp.7 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man7/tcp.7 b/man7/tcp.7 index c641d2f907..1723a05333 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -12,7 +12,7 @@ .\" documented: tcp_mtu_probing, tcp_base_mss, and .\" tcp_workaround_signed_windows .\" -.TH TCP 7 2007-11-25 "Linux" "Linux Programmer's Manual" +.TH TCP 7 2008-08-08 "Linux" "Linux Programmer's Manual" .SH NAME tcp \- TCP protocol .SH SYNOPSIS @@ -22,7 +22,7 @@ tcp \- TCP protocol .br .B #include <netinet/tcp.h> .sp -.B tcp_socket = socket(PF_INET, SOCK_STREAM, 0); +.B tcp_socket = socket(AF_INET, SOCK_STREAM, 0); .SH DESCRIPTION This is an implementation of the TCP protocol defined in RFC\ 793, RFC\ 1122 and RFC\ 2001 with the NewReno and SACK |
