Skip to main content

xila_tcp_receive

Function xila_tcp_receive 

Source
pub unsafe extern "C" fn xila_tcp_receive(
    socket: *mut Tcp,
    buffer: *mut c_void,
    size: usize,
    count: *mut usize,
) -> Status
Expand description

Blocking direct-buffer I/O. Zero size permits null; send may be partial; receive zero means EOF.

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