pub unsafe extern "C" fn q_serve(
poll: *mut ray_poll_t,
port: c_int,
) -> i64Expand description
Register a Q-protocol listener on poll, bound to TCP port.
Returns the poll selector id (>= 0), or -1 on failure.
pub unsafe extern "C" fn q_serve(
poll: *mut ray_poll_t,
port: c_int,
) -> i64Register a Q-protocol listener on poll, bound to TCP port.
Returns the poll selector id (>= 0), or -1 on failure.