qb_ipcs_response_send3
Send a response to a incoming request.
Usage
#include <qb/qbipcs.h>
ssize_t qb_ipcs_response_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
the data must include a qb_ipc_response_header at the top of the message. The client will read the size field to determine how much to recv.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.