pomp_conn_send_msg

Function pomp_conn_send_msg 

Source
pub unsafe extern "C" fn pomp_conn_send_msg(
    conn: *mut pomp_conn,
    msg: *const pomp_msg,
) -> c_int
Expand description

Send a message to the peer of the connection. @param conn : connection. @param msg : message to send. @return 0 in case of success, negative errno value in case of error.

@remarks the operation will be queued automatically for later processing in case the underlying socket buffer is full. Use ‘pomp_ctx_set_socket_cb’ to have more information about completion.