QB_IPCC_CONNECT(3)
QB_IPCC_CONNECT(3) β libqb Programmer's Manual β¨
πΈ NAME πΈ
qb_ipcc_connect β Create a connection to an IPC service. π
β¨ SYNOPSIS β¨
#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. literally the service's name, bestie.max_msg_sizeβ biggest msg size. yes, the absolute biggest message size. π
π DESCRIPTION π
Okay so real talk: the DESCRIPTION section in the source is literally empty. Not one single line. It's giving minimalist queen, and we respect the silence. π«Άπ
π¦ RETURN VALUE π¦
NULL (error: see errno) or a connection object.
So you either get NULL β which is the error vibe, check errno β or you get a connection object. periodt. π
π NOTE π
It is recommended to do a one time check on themax_msg_sizevalue usingqb_ipcc_verify_dgram_max_msg_sizeBEFORE calling the connect function whenIPC_SOCKETis in use. Some distributions will allow large message buffers to be set on the socket, but not actually honor them because of kernel state values. Theqb_ipcc_verify_dgram_max_msg_sizefunction both sets the socket buffer size and verifies it by doing a send/recv. π₯
π SEE ALSO π
qb_ipcc_send(3)qb_ipcc_sendv_recv(3)qb_ipcc_recv(3)qb_ipcc_event_recv(3)qb_ipcc_connect_async(3)qb_ipcc_fc_enable_max_set(3)qb_ipcc_is_connected(3)qb_ipcc_connect_continue(3)qb_ipcc_auth_get(3)qb_ipcc_sendv(3)qb_ipcc_context_set(3)qb_ipcc_context_get(3)qb_ipcc_verify_dgram_max_msg_size(3)qb_ipcc_get_buffer_size(3)qb_ipcc_disconnect(3)qb_ipcc_fd_get(3)
π COPYRIGHT π
Copyright (C) 2010-2020 Red Hat, Inc.
mwah π this page is from LIBQB, dated 2025-09-16, and it lives at QB_IPCC_CONNECT(3). bye bestie, go connect something iconic ππ¦
π¦ where this page comes from
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- fedora 44: libqb-devel 2.0.9-2.fc44 Β· LGPL-2.1-or-later
- ubuntu resolute: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- ubuntu stonking: libqb-dev 2.0.9-1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms