#include <dolphin/ip.h>
s32 UDPSetOption ( UDPInfo* info, u8 ttl, u8 tos );
UDPSetOption() specifies the time-to-live and type-of-service
filled in the IP packet to be transmitted.
info |
Pointer to UDPInfo 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 UDPInfo. |