qb_ipcs_event_send3
Send an asynchronous event message to the client.
Usage
#include <qb/qbipcs.h>
ssize_t qb_ipcs_event_send(
qb_ipcs_connection_t *c, /* connection instance */
const void *data, /* the message to send */
size_t size /* the size of the message */
);
Params
c connection instance
data the message to send
size the size of the message
Overview
Return value
size sent or -errno for errors
Note
When send returns -EMSGSIZE, this means the msg is too large and will never succeed. To determine the max msg size a client can be sent, use qb_ipcs_connection_get_buffer_size()
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.