qb_ipcs_response_sendv3
Send a response to a incoming request.
Usage
#include <qb/qbipcs.h>
ssize_t qb_ipcs_response_sendv(
qb_ipcs_connection_t *c, /* connection instance */
/*
* the iovec struct that points to the message to send
*/
const struct iovec *iov,
size_t iov_len /* the number of iovecs. */
);
Params
c connection instance
iov the iovec struct that points to the message to send
iov_len the number of iovecs.
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.