Skip to main content

udp_bind

Function udp_bind 

Source
pub fn udp_bind(
    addr: impl ToSocketAddrs,
    cap: &impl Has<NetBind>,
) -> Result<UdpSocket, CapSecError>
Expand description

Binds a UDP socket to the given address. Requires NetBind permission.