Go to the source code of this file.
◆ PING_ALLOWS_CUSTOM_THREAD_SIZE
| #define PING_ALLOWS_CUSTOM_THREAD_SIZE 0 |
◆ PLATFORM_SUPPORTS_ICMP
| #define PLATFORM_SUPPORTS_ICMP 0 |
◆ PLATFORM_USES_POSIX_ICMP
| #define PLATFORM_USES_POSIX_ICMP 0 |
◆ CalculateChecksum()
| int CalculateChecksum |
( |
uint8 * |
Address, |
|
|
int |
Length |
|
) |
| |
Calculate the 16-bit one's complement of the one's complement sum of the ICMP message starting at the beginning of the IcmpHeader
- Parameters
-
| Address | byte array to calculate the checksum from |
| Length | length of the input byte array |
◆ ResolveIp()
Convert a string based hostname (ipv4) to a valid ip address
- Parameters
-
| HostName | the name of the host to look up |
| OutIp | [out] the string to copy the IP address to |
- Returns
- true if conversion was successful, false otherwise