pub fn acceptfrom_with<Fd: AsFd>(
sockfd: Fd,
flags: SocketFlags,
) -> Result<(OwnedFd, Option<SocketAddrAny>)>Available on crate feature
net only.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.