Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function sets the default time-to-live (TTL) value for the local computer.
DWORDSetIpTTL(UINTnTTL);
Parameters
- nTTL
[in] The new TTL value for the local computer.
Return Values
Returns NO_ERROR if successful. If the function fails, it returns an error code. For a complete list of error codes, see Error Values or the SDK header file Winerror.h.
Remarks
The default TTL can also be set using the SetIpStatistics function.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Iphlpapi.h.
Link Library: Iphlpapi.lib.
See Also
IP Helper Functions | MIB_IPSTATS | SetIpStatistics
Send Feedback on this topic to the authors