Handbook
Glossary
addrinfo
Vocabulary
unix
.
ffi
Definition
USING:
alien.c-types
classes.struct
unix.types
;
IN:
unix.ffi
STRUCT:
addrinfo
{
flags
int
initial:
0
}
{
family
int
initial:
0
}
{
socktype
int
initial:
0
}
{
protocol
int
initial:
0
}
{
addrlen
socklen_t
initial:
0
}
{
canonname
c-string
}
{
addr void*
}
{
next addrinfo*
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
unix.ffi
;
M:
addrinfo
clone
clone-underlying
\
addrinfo
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
unix.ffi
;
M:
addrinfo
struct-slot-values
{
[
flags>>
]
[
family>>
]
[
socktype>>
]
[
protocol>>
]
[
addrlen>>
]
[
canonname>>
]
[
addr>>
]
[
next>>
]
}
cleave>array
;
inline