| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |
Arguments: dotted &key errorp
If dotted is a string like
"192.132.95.84" (or one of the extensions to this format),
this function converts the string to an unsigned 32-bit IP address. If
there are any invalid characters in the string then an error will be
signaled unless the value of errorp keyword is
nil
, in which case nil
is returned.
dotted-to-ipaddr supports IPv6 "colon hex" address notation, including the %scopeid extension. The scope id can be an interface number or interface name. dotted-to-ipaddr supports IPv4-mapped IPv6 address notation (::ffff:w.x.y.z).
"2001:5c0:0:2::24" ;; 6bone.net "fe80::209:5bff:fe8e:61c1" ;; a link-local address "fe80::209:5bff:fe8e:61c1%eth0" ;; a link-local address with scope-id "fe80::209:5bff:fe8e:61c1%2" ;; a link-local address with numeric scope-id "::" ;; unspecific/wildcard address "::1" ;; loopback "::ffff:192.168.0.1" ;; IPv4-mapped IPv6 address
See also get-ip-interfaces.
See socket.htm for general information on sockets in Allegro CL.
Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version |