io.sockets.unix vocabulary - Factor Documentation (original) (raw)

io.sockets.unix vocabulary
Factor handbook » Vocabulary index

Summary
Implementation of TCP/IP and UDP/IP sockets on Unix-like systems

Metadata

Parents: io.sockets
Authors: Slava Pestov
Platforms: unix

Words

Ordinary words

Word Stack effect
(receive-loop) ( n buf datagram -- count sockaddr )
?bind-client ( socket -- )
do-accept ( server addrspec -- fd sockaddr )
do-receive ( n buf port -- count sockaddr )
do-send ( packet sockaddr len socket datagram -- )
get-socket-option ( fd level opt -- val )
init-client-socket ( fd -- )
init-server-socket ( fd -- )
server-socket-fd ( addrspec type -- fd )
set-socket-option ( fd level opt -- )
socket-fd ( domain type protocol -- fd )
wait-to-connect ( port -- )

Files

resource:basis/io/sockets/unix/unix.factor
resource:basis/io/sockets/unix/unix-tests.factor

Metadata files

resource:basis/io/sockets/unix/authors.txt
resource:basis/io/sockets/unix/platforms.txt
resource:basis/io/sockets/unix/summary.txt

Children from resource:basis

Vocabulary Summary
io.sockets.unix.linux