qb_ipcc_connect(3)

qb_ipcc_connect3

Create a connection to an ipc service.

Usage

#include <qb/qbipcc.h>

qb_ipcc_connection_t * qb_ipcc_connect(
    const char   *name,          /* name of the service. */
    size_t        max_msg_size   /* biggest msg size. */
);

Params

name name of the service.

max_msg_size biggest msg size.

Overview

Return value

NULL (error: see errno) or a connection object.

Note

It is recommended to do a one time check on the max_msg_size value using qb_ipcc_verify_dgram_max_msg_size BEFORE calling the connect function when IPC_SOCKET is in use. Some distributions while allow large message buffers to be set on the socket, but not actually honor them because of kernel state values. The qb_ipcc_verify_dgram_max_msg_size function both sets the socket buffer size and verifies it by doing a send/recv.

Releases

4 releases since Debian 11 (Bullseye); the text changed 3 times.

  1. 11
  2. 12
  3. 13
  4. Arch

From libqb 2.0.10-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.