nix::sys::socket
pub fn accept(sockfd: RawFd) -> Result<RawFd>
Accept a connection on a socket
Further reading