resolve-host ( addrspec -- seq )
Networking ยป Address specifiers

Prev:<inet6> ( host port -- inet6 )


Vocabulary
io.sockets

Inputs
addrspecan address specifier


Outputs
seqa sequence of address specifiers


Word description
Resolves host names to IP addresses.

Errors
Throws an addrinfo-error if the host name cannot be resolved.

Examples
"www.facebook.com" resolve-host . { T{ ipv4 { host "31.13.64.32" } } }


Definition

GENERIC: resolve-host ( addrspec -- seq )


Methods