| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 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 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version |