Jump to main content

##

# 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

Parameters | Description
--- | ---
IPAddress | Pointer to IPV4_ADDR to convert.
buff | Buffer to store the converted dotted-quad IP address string.
buffSize | Buffer 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.