Parents: | io.sockets |
Class | Superclass | Slots |
datagram-port | port | addr |
invalid-ipv4 | tuple | host reason |
invalid-ipv6 | tuple | host reason |
invalid-port | tuple | object |
raw-port | port | addr |
server-port | port | addr encoding |
Word | Stack 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 ) |
bind-local-address |
Word | Stack 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 ) |
Word | Stack effect |
datagram-port? | ( object -- ? ) |
invalid-ipv4? | ( object -- ? ) |
invalid-ipv6? | ( object -- ? ) |
invalid-port? | ( object -- ? ) |
raw-port? | ( object -- ? ) |
server-port? | ( object -- ? ) |