garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

.. /ports/mio-1.2.4/src/sys/shell/udp.rs

raw

#![cfg(not(target_os = "wasi"))]
use std::io;
use std::net::{self, SocketAddr};

pub fn bind(_: SocketAddr) -> io::Result<net::UdpSocket> {
    os_required!()
}

pub(crate) fn only_v6(_: &net::UdpSocket) -> io::Result<bool> {
    os_required!()
}