Function rustix::net::bind_v4

source · []
pub fn bind_v4<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrV4) -> Result<()>
Expand description

bind(sockfd, addr, sizeof(struct sockaddr_in))—Binds a socket to an IPv4 address.

References