%inet_addr() function

The %inet_addr() function converts a string containing an IPv4 dotted-decimal address into a proper address for the IN_ADDR structure.

See your host OS documentation for more information on this function.