Handbook
Glossary
with-port ( addrspec port -- addrspec )
Vocabulary
io
.
sockets
Inputs
addrspec
an
object
port
an
object
Outputs
addrspec
an
object
Definition
IN:
io.sockets
GENERIC#:
with-port
1
( addrspec port -- addrspec )
Methods
USING:
accessors
io.sockets
kernel
;
M:
hostname
with-port
[
host>>
]
dip
<inet>
;
USING:
accessors
io.sockets
kernel
;
M:
ipv4
with-port
[
host>>
]
dip
<inet4>
;
USING:
accessors
io.sockets
kernel
;
M:
ipv6
with-port
[
[
host>>
]
[
scope-id>>
]
bi
]
dip
inet6
boa
;
USING:
io.sockets
strings
;
M:
string
with-port
<inet>
;