Handbook
Glossary
inet-ntop ( data addrspec -- str )
Vocabulary
io
.
sockets
.
private
Inputs
data
an
object
addrspec
an
object
Outputs
str
an
object
Definition
IN:
io.sockets.private
GENERIC:
inet-ntop
( data addrspec -- str )
Methods
USING:
alien.data
io.sockets
io.sockets.private
ip-parser.private
kernel
;
M:
ipv4
inet-ntop
drop
4
memory>byte-array
join-ipv4
;
USING:
alien.data
endian
grouping
io.sockets
io.sockets.private
kernel
math.parser
sequences
;
M:
ipv6
inet-ntop
drop
16
memory>byte-array
2
<groups>
[
be>
>hex
]
map
":"
join
;