Function bind_socket

Source
pub fn bind_socket(socket: &Socket, addr: &SocketAddr) -> Result<()>