<inet4> ( host port -- inet4 )
Networking > Address specifiers
Prev:inet4
Next:inet6


Vocabulary
io.sockets

Inputs and outputs
hostan IPv4 address
porta port number
inet4an 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 ;