ipaddr string - part-cw/lambdanative GitHub Wiki
(ipaddr->string addr)
ipaddr->string converts an ip4 address in u8vector format to conventional string representation.
Parameter | Description |
---|---|
addr | u8vector with ip address, e.g. obtained with (host-ipaddr) |
Example
Example 1: Get my machine's ip address, with an internet connection present
> (ipaddr->string (host-ipaddr "localhost"))
"192.168.31.2"