Skip to main content

xila_tcp_close

Function xila_tcp_close 

Source
pub unsafe extern "C" fn xila_tcp_close(socket: *mut Tcp) -> Status
Expand description

Abort and release the socket and its buffers. Null succeeds; queued data may be lost.

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