Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

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"
Clone this wiki locally