qb_ipcs_enforce_buffer_size3
Enforce the max buffer size clients must use from the server side.
Usage
#include <qb/qbipcs.h>
void qb_ipcs_enforce_buffer_size(
qb_ipcs_service_t *s, /* ipc server instance */
uint32_t max_buf_size /* represented in bytes */
);
Params
s ipc server instance
max_buf_size represented in bytes
Overview
Note
Setting this will force client connections to use at least max_buf_size bytes as their buffer size. If this value is not set on the server, the clients enforce their own buffer sizes.
Releases
4 releases since Debian 11 (Bullseye); the text changed 3 times.