Skip to main content

xila_udp_bind

Function xila_udp_bind 

Source
pub unsafe extern "C" fn xila_udp_bind(
    network: *const Network,
    address: *const NetworkAddress,
    socket: *mut *mut Udp,
) -> Status
Expand description

Bind a UDP socket. Port zero is rejected by Core; one datagram per direction is buffered.

ยงSafety

Objects must be live and calls serialized. Inputs must be readable and outputs aligned, writable and disjoint from inputs and objects. Buffers must be valid for their lengths. Owned objects must be released exactly once.