UDPSetOption


C Specification

#include <dolphin/ip.h>
s32 UDPSetOption ( UDPInfo* info, u8 ttl, u8 tos );

Description

UDPSetOption() specifies the time-to-live and type-of-service filled in the IP packet to be transmitted.

Arguments

info Pointer to UDPInfo to set option.
ttl time-to-live value.
tos type-of-service value.

Return Values

IP_ERR_NONE Succeeded.
IP_ERR_INVALID info is not a valid UDPInfo.

See Also