Parents: | io |
Tags: | network |
Authors: | Slava Pestov, Daniel Ehrenberg |
Class | Superclass | Slots |
addrinfo-error | tuple | n string host |
hostname | tuple | host |
inet | hostname | port |
inet4 | ipv4 | port |
inet6 | ipv6 | port |
invalid-inet-server | tuple | addrspec |
invalid-local-address | tuple | addrspec |
ipv4 | hostname | |
ipv6 | hostname | scope-id |
local | tuple | path |
Word | Stack effect |
<any-port-local-inet> | ( inet -- inet4 ) |
host-name | ( -- string ) |
resolve-host | ( addrspec -- seq ) |
resolve-localhost | ( -- obj ) |
with-port | ( addrspec port -- addrspec ) |
local-address |
remote-address |
Word | Stack 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 host -- * ) |
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 -- ) |
spawn-client | ( remote encoding quot -- ) |
with-any-port-local-broadcast | ( quot -- ) |
with-any-port-local-datagram | ( quot -- ) |
with-client | ( remote encoding quot -- ) |
with-local-address | ( addr quot -- ) |
Word | Stack 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 -- ? ) |
Vocabulary | Summary |
io.sockets.icmp | Support for ICMP. |
io.sockets.secure | Secure sockets (SSL, TLS) |
io.sockets.unix | Implementation of TCP/IP and UDP/IP sockets on Unix-like systems |
io.sockets.windows |