prepAccept

Prepares accept4(2) operation.

nothrow @nogc ref @trusted
SubmissionEntry
prepAccept
(
ADDR
)
(
return ref SubmissionEntry entry
,
int fd
,
ref ADDR addr
,
ref socklen_t addrlen
,
AcceptFlags flags = AcceptFlags.NONE
)

Parameters

entry SubmissionEntry

SubmissionEntry to prepare

fd int

socket file descriptor

addr ADDR

reference to one of sockaddr structires to be filled with accepted client address

addrlen socklen_t

reference to addrlen field that would be filled with accepted client address length

Note: Available from Linux 5.5

See Also

accept4(2)` for the general description of the related system call.

Meta