23 #ifndef __NETWORK_IPV4_H_ 24 #define __NETWORK_IPV4_H_ 40 bool IPv4Address(
const char* str, uint32_t* ip_out );
std::string IPv4AddressStr(uint32_t ip_address)
Return text string of IPv4 address in "xxx.xxx.xxx.xxx" format.
bool IPv4Address(const char *str, uint32_t *ip_out)
Convert an IPv4 address string in "xxx.xxx.xxx.xxx" format to binary representation.