Skip to main content

xila_udp_send_to

Function xila_udp_send_to 

Source
pub unsafe extern "C" fn xila_udp_send_to(
    socket: *mut Udp,
    buffer: *const c_void,
    size: usize,
    address: *const NetworkAddress,
    count: *mut usize,
) -> Status
Expand description

Nonblocking atomic datagram send, without logging or staging allocation.

ยง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.