pub fn bind_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> Result<()>
Available on crate feature
net
only.Expand description
bind(sockfd, addr)
—Binds a socket to an address.
pub fn bind_any<Fd: AsFd>(sockfd: Fd, addr: &SocketAddrAny) -> Result<()>
net
only.bind(sockfd, addr)
—Binds a socket to an address.