1QB_IPCS_RESPONSE_SENDV(3)  libqb Programmer's Manual QB_IPCS_RESPONSE_SENDV(3)
2
3
4

NAME

6       qb_ipcs_response_sendv - Send a response to a incoming request.
7
8

SYNOPSIS

10       #include <qb/qbipcs.h>
11
12       ssize_t qb_ipcs_response_sendv(
13           qb_ipcs_connection_t   *c,        /* connection instance */
14           /*
15            * the iovec struct that points to the message to send
16            */
17           const struct iovec     *iov,
18           size_t                  iov_len   /* the number of iovecs. */
19       );
20

PARAMS

22       c       connection instance
23
24       iov     the iovec struct that points to the message to send
25
26       iov_len the number of iovecs.
27

DESCRIPTION

RETURN VALUE

30       size sent or -errno for errors
31

NOTE

33       When  send  returns -EMSGSIZE, this means the msg is too large and will
34       never succeed. To determine the max msg size a client can be sent,  use
35       qb_ipcs_connection_get_buffer_size()
36

SEE ALSO

38       qb_ipcs_response_send(3), qb_ipcs_ref(3), qb_ipcs_unref(3),
39       qb_ipcs_connection_auth_set(3), qb_ipcs_service_context_get(3),
40       qb_ipcs_connection_ref(3), qb_ipcs_connection_next_get(3),
41       qb_ipcs_stats_get(3), qb_ipcs_connection_unref(3),
42       qb_ipcs_context_set(3), qb_ipcs_poll_handlers_set(3),
43       qb_ipcs_request_rate_limit(3), qb_ipcs_disconnect(3),
44       qb_ipcs_connection_first_get(3), qb_ipcs_enforce_buffer_size(3),
45       qb_ipcs_destroy(3), qb_ipcs_event_send(3),
46       qb_ipcs_connection_stats_get_2(3), qb_ipcs_service_context_set(3),
47       qb_ipcs_connection_stats_get(3), qb_ipcs_service_id_get(3),
48       qb_ipcs_context_get(3), qb_ipcs_connection_get_buffer_size(3),
49       qb_ipcs_create(3), qb_ipcs_run(3), qb_ipcs_event_sendv(3),
50       qb_ipcs_connection_service_context_get(3),
51
53       Copyright (C) 2010-2020 Red Hat, Inc.
54
55
56
57LIBQB                             2023-07-21         QB_IPCS_RESPONSE_SENDV(3)
Impressum