Skip to main content

q_send

Function q_send 

Source
pub unsafe extern "C" fn q_send(
    fd: c_int,
    msg: *mut ray_t,
    err: *mut c_char,
    errlen: usize,
) -> *mut ray_t
Expand description

Encode + exchange + decode: send msg and return the decoded response (possibly a RAY_ERROR), or null on a transport/serialization failure with a short reason written to err.