Handbook
Glossary
inet-pton ( str addrspec -- data )
Vocabulary
io
.
sockets
.
private
Inputs
str
an
object
addrspec
an
object
Outputs
data
an
object
Definition
IN:
io.sockets.private
GENERIC:
inet-pton
( str addrspec -- data )
Methods
USING:
continuations
io.sockets
io.sockets.private
kernel
;
M:
ipv4
inet-pton
drop
[
?parse-ipv4
]
[
invalid-ipv4
]
recover
;
USING:
continuations
io.sockets
io.sockets.private
ip-parser
kernel
;
M:
ipv6
inet-pton
drop
[
parse-ipv6
ipv6-bytes
]
[
invalid-ipv6
]
recover
;