Refer to the correct include file for the IPTOS_XXX constants.

This commit is contained in:
ru 2000-03-22 16:02:49 +00:00
parent ed21c3fe28
commit cd2b2c7148

View File

@ -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 */