Refer to the correct include file for the IPTOS_XXX constants.
This commit is contained in:
parent
ed21c3fe28
commit
cd2b2c7148
@ -106,7 +106,7 @@ and
|
||||
sockets.
|
||||
For example,
|
||||
.Bd -literal
|
||||
int tos = IPTOS_LOWDELAY; /* see <netinet/in.h> */
|
||||
int tos = IPTOS_LOWDELAY; /* see <netinet/ip.h> */
|
||||
setsockopt(s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos));
|
||||
|
||||
int ttl = 60; /* max = 255 */
|
||||
|
Loading…
Reference in New Issue
Block a user