pub fn bind<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> Result<()>
Expand description
bind(sockfd, addr)
—Binds a socket to an IP address.
pub fn bind<Fd: AsFd>(sockfd: Fd, addr: &SocketAddr) -> Result<()>
bind(sockfd, addr)
—Binds a socket to an IP address.