Handbook
Glossary
sockaddr-in
Vocabulary
unix
.
ffi
Definition
USING:
alien.c-types
classes.struct
unix.types
;
IN:
unix.ffi
STRUCT:
sockaddr-in
{
len
uchar
initial:
0
}
{
family
uchar
initial:
0
}
{
port
ushort
initial:
0
}
{
addr
in_addr_t
initial:
0
}
{
unused
longlong
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
unix.ffi
;
M:
sockaddr-in
clone
clone-underlying
\
sockaddr-in
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
unix.ffi
;
M:
sockaddr-in
struct-slot-values
{
[
len>>
]
[
family>>
]
[
port>>
]
[
addr>>
]
[
unused>>
]
}
cleave>array
;
inline