Function rustix::net::socket::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