Handbook
Glossary
parse-ip ( str -- ipv4/ipv6 )
Vocabulary
dns
Inputs
str
an
object
Outputs
ipv4/ipv6
an
object
Definition
USING:
continuations
io.sockets
kernel
;
IN:
dns
:
parse-ip
( str -- ipv4/ipv6 )
[
<ipv4>
]
[
drop
<ipv6>
]
recover
;