1QB_IPCC_GET_BUFFER_SIZE(3) libqb Programmer's ManualQB_IPCC_GET_BUFFER_SIZE(3)
2
3
4

NAME

6       qb_ipcc_get_buffer_size - What is the actual buffer size used after the
7       connection.
8

SYNOPSIS

10       #include <qb/qbipcc.h>
11
12       int32_t qb_ipcc_get_buffer_size(
13           qb_ipcc_connection_t   *c
14       );
15

PARAMS

17       c connection instance
18

DESCRIPTION

20       connection size in bytes or -error code
21

NOTE

23       The buffer size is guaranteed to be at least  the  size  of  the  value
24       given  in qb_ipcc_connect, but it is possible the server will enforce a
25       larger size depending on the implementation.  If  the  server  side  is
26       known to enforce a buffer size, use this function after the client con‐
27       nection is established to retrieve the buffer size in use. It is impor‐
28       tant  for  the client side to know the buffer size in use so the client
29       can successfully retrieve large server events.
30

SEE ALSO

32       qb_ipcc_send(3), qb_ipcc_sendv_recv(3), qb_ipcc_recv(3),
33       qb_ipcc_event_recv(3), qb_ipcc_fc_enable_max_set(3),
34       qb_ipcc_is_connected(3), qb_ipcc_sendv(3), qb_ipcc_context_set(3),
35       qb_ipcc_context_get(3), qb_ipcc_verify_dgram_max_msg_size(3),
36       qb_ipcc_connect(3), qb_ipcc_disconnect(3), qb_ipcc_fd_get(3)
37
39       Copyright (C) 2010-2020 Red Hat, Inc. All rights reserved.
40
41
42
43LIBQB                             2020-07-30        QB_IPCC_GET_BUFFER_SIZE(3)
Impressum