All Manuals > LispWorks® User Guide and Reference Manual > 32 The COMM Package

ip-address-string Function

Summary

Returns the IP address string for an IP address. This can be either a dotted address for an integer representing an IPv4 address, or an IPv6 address string for ipv6-address.

Package

comm

Signature

ip-address-string ip-address => string-ip-address

Arguments
ip-address
An integer or an ipv6-address.
Values
string-ip-address
A string, either dotted string format for an integer or an IPv6 string for ipv6-address.
Description

The function ip-address-string converts ip-address to a string in the standard IP address notation. For an IPv4 address (supplied as an integer) this is the a.b.c.d notation. For IPv6 it is the standard IPv6 address notation (not including scope ID).

See also

string-ip-address
25 TCP and UDP socket communication and SSL


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:26