Constructs an
addressobject.nameshould be of type IPV4-ARRAY, IPV6-ARRAY orstringin which case an instance of IPV4-ADDRESS, IPV6-ADDRESS orlocal-address, respectively, will be created. Otherwise, atype-erroris signalled. See alsoensure-address.
Returns a copy of
addresswhich is ADDRESS= to the original.
If
familyis:local, alocal-addressis instantiated withaddressas itsnameslot. Iffamilyis:internet, an appropriate subtype ofinet-addressis instantiated after guessing the address type throughaddress-to-vector. If the address is invalid anderrorpis notnil, then acl:parse-erroris signalled, otherwisenilis returned.When
addressis already an instance of theaddressclass, a check is made to see if it matches thefamilyargument and it is returned unmodified.
Convert any representation of an internet address to a vector. Allowed inputs are: unsigned 32-bit integers, strings, vectors and
inet-addressobjects. If the address is valid, two values are returned: the vector and the address type (:IPV4 or IPV6), otherwisenilis returned.