pub unsafe extern "C" fn q_connect(
host: *const c_char,
port: c_int,
user: *const c_char,
password: *const c_char,
timeout_ms: c_int,
) -> c_intExpand description
Open a TCP connection to a Q server and perform the login handshake.
Returns a connection fd (>= 0), or a negative Q_ERR_* code.