Function libax::cbindings::ax_recv

source ·
#[no_mangle]
pub unsafe extern "C" fn ax_recv(
    socket_fd: c_int,
    buf_ptr: *mut c_void,
    len: usize,
    flag: c_int
) -> isize
Available on crate features net and cbindings only.
Expand description

Receive a message on a socket.

Return the number of bytes received if success.