TCPIP_Helper_IPAddressToString Function

C

bool TCPIP_Helper_IPAddressToString(
    const IPV4_ADDR* IPAddress, 
    char* buff, 
    size_t buffSize
);

Description

This function converts IPV4_ADDR to a dotted-quad decimal IP address string.

Preconditions

None.

Parameters

ParametersDescription
IPAddressPointer to IPV4_ADDR to convert.
buffBuffer to store the converted dotted-quad IP address string.
buffSizeBuffer size.

Returns

  • True - An IP address was successfully converted.

  • False - IP Address == 0 or buff == 0 or supplied buffer was not large enough. |

Remarks

None.