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.
pub fn udp_bind(
addr: impl ToSocketAddrs,
cap: &impl Has<NetBind>,
) -> Result<UdpSocket, CapSecError>Binds a UDP socket to the given address.
Requires NetBind permission.