#include <dolphin/ip.h>
s32 TCPSetOption ( TCPInfo* info, u8 ttl, u8 tos );
TCPSetOption() specifies the time-to-live and type-of-service
filled in the IP packet to be transmitted.
info |
Pointer to TCPInfo to set option. |
ttl |
time-to-live value |
tos |
type-of-service value |
IP_ERR_NONE |
Succeeded. |
IP_ERR_INVALID |
info is not a valid TCPInfo |