Handbook
Glossary
<inet4> ( host port -- inet4 )
Networking
ยป
Address specifiers
Prev:
inet4
Next:
inet6
Vocabulary
io
.
sockets
Inputs
host
an IPv4 address
port
a port number
Outputs
inet4
an
inet4
Word description
Creates a new
inet4
address specifier. A value of
f
as the host refers to localhost, while
f
as the port defers the port choice until a later time.
Definition
USING:
io.sockets.private
kernel
;
IN:
io.sockets
:
<inet4>
( host port -- inet4 )
over
check-ipv4
inet4
boa
;