mirror of https://github.com/mkerrisk/man-pages
Change protocol for UDP example
This commit is contained in:
parent
c9c3b6f3aa
commit
aa6dd0995f
|
@ -20,9 +20,9 @@ ip \- Linux IPv4 protocol implementation
|
|||
.sp
|
||||
.IB tcp_socket " = socket(PF_INET, SOCK_STREAM, 0);"
|
||||
.br
|
||||
.IB raw_socket " = socket(PF_INET, SOCK_RAW, " protocol ");"
|
||||
.IB udp_socket " = socket(PF_INET, SOCK_DGRAM, 0);"
|
||||
.br
|
||||
.IB udp_socket " = socket(PF_INET, SOCK_DGRAM, " protocol ");"
|
||||
.IB raw_socket " = socket(PF_INET, SOCK_RAW, " protocol ");"
|
||||
.SH DESCRIPTION
|
||||
Linux implements the Internet Protocol, version 4,
|
||||
described in RFC\ 791 and RFC\ 1122.
|
||||
|
|
Loading…
Reference in New Issue