Next: Network Databases, Up: Networking
This section describes procedures which convert internet addresses between numeric and string formats.
Convert a string containing an Internet host address in the traditional dotted decimal notation into an integer.
(inet-aton "127.0.0.1") ⇒ 2130706433
Convert an integer Internet host address into a string with the traditional dotted decimal representation.
(inet-ntoa 2130706433) ⇒ "127.0.0.1"
Return the network number part of the given integer Internet address.
(inet-netof 2130706433) ⇒ 127