Returns either an integer representing an IPv4 address or an ipv6-address object from the given IP address string.
A string denoting an IP address in either dotted format for IPv4 or standard IPv6 format.
Either an integer representing an IPv4 address, or an ipv6-address object.
takes a string and tries to parse as an IP address. If
is in a proper dotted IP address format, it returns an integer representing an IPv4 address. Otherwise it tries to read it as an IPv6 address using parse-ipv6-address (with
), which returns an ipv6-address object if it is successful or
if it fails.
LispWorks User Guide and Reference Manual - 21 Dec 2011