pub fn acceptfrom_with<Fd: AsFd>(
    sockfd: Fd,
    flags: AcceptFlags
) -> Result<(OwnedFd, Option<SocketAddrAny>)>
Expand description

accept4(fd, &addr, &len, flags)—Accepts an incoming connection and returns the peer address, with flags.

Use accept_with if the peer address isn’t needed.

acceptfrom_with is the same as acceptfrom but adds an additional flags operand.

References