pub fn acceptfrom<Fd: AsFd>( sockfd: Fd) -> Result<(OwnedFd, Option<SocketAddrAny>)>
accept(fd, &addr, &len)—Accepts an incoming connection and returns the peer address.
accept(fd, &addr, &len)
Use accept if the peer address isn’t needed.
accept