rustix::net

Function bind

Source
pub fn bind<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> Result<()>
Expand description

bind(sockfd, addr)—Binds a socket to an IP address.

§References