pub fn udp_bind(
addr: &str,
cap: &impl CapProvider<NetBind>,
) -> Result<UdpSocket, CapSecError>Expand description
Binds a UDP socket to the given address.
Requires NetBind permission.
pub fn udp_bind(
addr: &str,
cap: &impl CapProvider<NetBind>,
) -> Result<UdpSocket, CapSecError>Binds a UDP socket to the given address.
Requires NetBind permission.