![]() |
Home |
|
Function xn_name2ip_addrThis function translates a host name or IP address string in decimal dotted notation to a binary IP address. int xn_name2ip_addr(BYTE * ip_addr, const char * name); Parametersip_addrPointer to a 4-byte buffer to receive the result in network byte order. On error, *ip_add is set to 0.0.0.0 or 255.255.255.255. namePointer to the string to resolve. return valueReturns 1 if successful; otherwise 0.
|