io.sockets.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:io.sockets


Words

Tuple classes
ClassSuperclassSlots
datagram-port portaddr
invalid-ipv4 tuplehost reason
invalid-ipv6 tuplehost reason
invalid-port tupleobject
raw-port portaddr
server-port portaddr encoding


Generic words
WordStack effect
(accept)( server addrspec -- handle sockaddr )
(broadcast)( datagram -- datagram )
(client)( remote -- client-in client-out local )
(datagram)( addr -- datagram )
(get-local-address)( handle remote -- sockaddr )
(get-remote-address)( handle remote -- sockaddr )
(raw)( addr -- raw )
(receive-unsafe)( n buf datagram -- count addrspec )
(send)( bytes addrspec datagram -- )
(server)( addrspec -- handle )
address-size( addrspec -- n )
addrinfo-error-string( n -- string )
addrspec-of-family( af -- addrspec )
empty-sockaddr( addrspec -- sockaddr )
establish-connection( client-out remote -- )
inet-ntop( data addrspec -- str )
inet-pton( str addrspec -- data )
make-sockaddr( addrspec -- sockaddr )
make-sockaddr-outgoing( addrspec -- sockaddr )
parse-sockaddr( sockaddr addrspec -- newaddrspec )
protocol( addrspec -- n )
protocol-family( addrspec -- af )
remote>handle( remote -- handle )
sockaddr-of-family( alien af -- sockaddr )
sockaddr-size( addrspec -- n )


Symbol words
bind-local-address


Ordinary words
WordStack effect
<ports>( handle -- input-port output-port )
?parse-ipv4( string -- seq/f )
addrinfo>addrspec( addrinfo -- addrspec )
check-connectionless-port( port -- port )
check-ipv4( host -- )
check-ipv6( host -- )
check-port( bytes addrspec port -- bytes addrspec port )
check-receive( port -- port )
check-send( bytes addrspec port -- bytes addrspec port )
empty-sockaddr/size( addrspec -- sockaddr size )
get-local-address( handle remote -- local )
get-remote-address( handle local -- remote )
invalid-ipv4( host reason -- * )
invalid-ipv6( host reason -- * )
invalid-port( object -- * )
ipv6-bytes( seq -- bytes )
make-sockaddr/size( addrspec -- sockaddr size )
make-sockaddr/size-outgoing( addrspec -- sockaddr size )
parse-addrinfo-list( addrinfo -- seq )
prepare-addrinfo( -- addrinfo )


Class predicate words
WordStack effect
datagram-port?( object -- ? )
invalid-ipv4?( object -- ? )
invalid-ipv6?( object -- ? )
invalid-port?( object -- ? )
raw-port?( object -- ? )
server-port?( object -- ? )


Files