Skip to main content

q_serve

Function q_serve 

Source
pub unsafe extern "C" fn q_serve(
    poll: *mut ray_poll_t,
    port: c_int,
) -> i64
Expand description

Register a Q-protocol listener on poll, bound to TCP port. Returns the poll selector id (>= 0), or -1 on failure.