Function rsix::net::acceptfrom [−][src]
pub fn acceptfrom<Fd: AsFd>(sockfd: &Fd) -> Result<(OwnedFd, SocketAddr)>
Expand description
accept(fd, &addr, &len)
—Accepts an incoming connection and returns the
peer address.
Use accept
if the peer address isn’t needed.