Function rustix::net::acceptfrom_with [−][src]
pub fn acceptfrom_with<Fd: AsFd>(
sockfd: &Fd,
flags: AcceptFlags
) -> Result<(OwnedFd, 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.