raw.7: Mention sendto(), recvfrom(), and so on when discussing address format

This gives the reader a little context for the following
discussion of 'sin_port'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-03 12:03:24 +02:00
parent 62462978fe
commit 582ff8ca7c
1 changed files with 5 additions and 1 deletions

View File

@ -91,7 +91,11 @@ When a packet is received, it is passed to any raw sockets which have
been bound to its protocol before it is passed to other protocol handlers
(e.g., kernel protocol modules).
.SS Address format
Raw sockets use the standard
For sending and receiving datagrams
.RB ( sendto (2),
.BR recvfrom (2),
and similar),
raw sockets use the standard
.I sockaddr_in
address structure defined in
.BR ip (7).