Handbook
Glossary
do-receive ( n buf port -- count sockaddr )
Vocabulary
io
.
sockets
.
unix
Inputs
n
an
object
buf
an
object
port
an
object
Outputs
count
an
object
sockaddr
an
object
Definition
USING:
accessors
alien.c-types
alien.data
io.backend.unix
io.sockets.private
unix.ffi
;
IN:
io.sockets.unix
::
do-receive
( n buf port -- count sockaddr )
port
addr>>
empty-sockaddr/size
:>
( sockaddr len ) port
handle>>
handle-fd
buf n 0 sockaddr len
int
<ref>
recvfrom
sockaddr
;
inline