Handbook
Glossary
(get-remote-address) ( handle remote -- sockaddr )
Vocabulary
io
.
sockets
.
private
Inputs
handle
an
object
remote
an
object
Outputs
sockaddr
an
object
Definition
IN:
io.sockets.private
GENERIC:
(get-remote-address)
( handle remote -- sockaddr )
Methods
USING:
alien.c-types
alien.data
io.backend.unix
io.sockets.private
kernel
libc
unix.ffi
;
M:
object
(get-remote-address)
[
handle-fd
]
dip
empty-sockaddr/size
int
<ref>
[
getpeername
io-error
]
keepd
;