Takes an integer representing an IPv4 address and outputs the corresponding decimal-dot IPv4 address as a null-terminated string.
LJM_ERROR_RETURN LJM_NumberToIP(
unsigned int Number,
char * IPv4String)
LJM errorcodes or 0 for no error.
Use this function to get a more human-readable interpretation of an IP address.
[C/C++] Convert a number into an IPv4 string.
int LJMError; char IPv4String[16]; LJMError = LJM_NumberToIP(3232235983, IPv4String); printf ("%s \n", IPv4String); // Prints "192.168.1.207"