io.sockets vocabulary
Factor handbook > Vocabulary index


Documentation
Networking

Meta-data
Tags:network
Authors:Slava Pestov, Daniel Ehrenberg


Words

Tuple classes
ClassSuperclassSlots
addrinfo-error tuplen string
hostname tuplehost
inet hostnameport
inet4 ipv4port
inet6 ipv6port
invalid-inet-server tupleaddrspec
invalid-local-address tupleaddrspec
ipv4 tuplehost
ipv6 tuplehost scope-id
local tuplepath


Generic words
WordStack effect
<any-port-local-inet>( inet -- inet4 )
host-name( -- string )
resolve-host( addrspec -- seq )
resolve-localhost( -- obj )
with-port( addrspec port -- addrspec )


Symbol words
local-address
remote-address


Ordinary words
WordStack effect
<any-port-local-broadcast>( inet -- datagram )
<any-port-local-datagram>( inet -- datagram )
<any-port-local-inet4>( -- inet4 )
<any-port-local-inet6>( -- inet6 )
<broadcast>( addrspec -- datagram )
<client>( remote encoding -- stream local )
<datagram>( addrspec -- datagram )
<inet4>( host port -- inet4 )
<inet6>( host port -- inet6 )
<inet>( host port -- inet )
<ipv4>( host -- ipv4 )
<ipv6>( host -- ipv6 )
<local>( path -- addrspec )
<raw>( addrspec -- datagram )
<server>( addrspec encoding -- server )
accept( server -- client remote )
addrinfo-error( n string -- * )
broadcast-once( bytes addrspec -- )
datagram-size( -- value )
invalid-inet-server( addrspec -- * )
invalid-local-address( addrspec -- * )
ipv6-supported?( -- ? )
make-sockaddr-in6-part( inet -- sockaddr )
make-sockaddr-part( inet -- sockaddr )
port-protocol( port -- protocol )
protocol-port( protocol -- port )
receive( datagram -- bytes addrspec )
receive-into( buf datagram -- buf-slice addrspec )
receive-unsafe( n buf datagram -- count addrspec )
send( bytes addrspec datagram -- )
send-once( bytes addrspec -- )
with-any-port-local-broadcast( quot -- )
with-any-port-local-datagram( quot -- )
with-client( remote encoding quot -- )
with-local-address( addr quot -- )


Class predicate words
WordStack effect
addrinfo-error?( object -- ? )
hostname?( object -- ? )
inet4?( object -- ? )
inet6?( object -- ? )
inet?( object -- ? )
invalid-inet-server?( object -- ? )
invalid-local-address?( object -- ? )
ipv4?( object -- ? )
ipv6?( object -- ? )
local?( object -- ? )


Files


Children from resource:basis
VocabularySummary
io.sockets.icmpSupport for ICMP.
io.sockets.secureSecure sockets (SSL, TLS)
io.sockets.unixImplementation of TCP/IP and UDP/IP sockets on Unix-like systems
io.sockets.windowsio.sockets.windows vocabulary


Children
VocabularySummary
io.sockets.privateio.sockets.private vocabulary