---
name: "qb_ipcc_send"
section: "3"
platform: "linux"
package: "libqb"
version: "2.0.10-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/qb_ipcc_send"
---

# qb\_ipcc\_send(3)

Send a message.

## NAME

qb\_ipcc\_send - Send a message.

## SYNOPSIS

```
#include <qb/qbipcc.h>

ssize_t qb_ipcc_send(
    qb_ipcc_connection_t   *c,        /* connection instance */
    const void             *msg_ptr,  /* pointer to a message to send */
    size_t                  msg_len   /* the size of the message */
);
```

## PARAMS

**c**       *connection instance*

**msg\_ptr** *pointer to a message to send*

**msg\_len** *the size of the message*

## DESCRIPTION

## RETURN VALUE

(size sent, -errno == error)

## NOTE

the msg\_ptr must include a *qb\_ipc\_request\_header* at the top of the message. The server will read the size field to determine how much to recv.

## SEE ALSO

[*qb\_ipcc\_sendv\_recv*(3)](/qb_ipcc_sendv_recv/3.md), [*qb\_ipcc\_recv*(3)](/qb_ipcc_recv/3.md), [*qb\_ipcc\_event\_recv*(3)](/qb_ipcc_event_recv/3.md), *qb\_ipcc\_connect\_async*(3), [*qb\_ipcc\_fc\_enable\_max\_set*(3)](/qb_ipcc_fc_enable_max_set/3.md), [*qb\_ipcc\_is\_connected*(3)](/qb_ipcc_is_connected/3.md), *qb\_ipcc\_connect\_continue*(3), *qb\_ipcc\_auth\_get*(3), [*qb\_ipcc\_sendv*(3)](/qb_ipcc_sendv/3.md), [*qb\_ipcc\_context\_set*(3)](/qb_ipcc_context_set/3.md), [*qb\_ipcc\_context\_get*(3)](/qb_ipcc_context_get/3.md), [*qb\_ipcc\_verify\_dgram\_max\_msg\_size*(3)](/qb_ipcc_verify_dgram_max_msg_size/3.md), [*qb\_ipcc\_get\_buffer\_size*(3)](/qb_ipcc_get_buffer_size/3.md), [*qb\_ipcc\_connect*(3)](/qb_ipcc_connect/3.md), [*qb\_ipcc\_disconnect*(3)](/qb_ipcc_disconnect/3.md), [*qb\_ipcc\_fd\_get*(3)](/qb_ipcc_fd_get/3.md)

## COPYRIGHT

Copyright (C) 2010-2020 Red Hat, Inc.
