1gnutls_ia_send(3)                   gnutls                   gnutls_ia_send(3)
2
3
4

NAME

6       gnutls_ia_send - API function
7

SYNOPSIS

9       #include <gnutls/extra.h>
10
11       ssize_t  gnutls_ia_send(gnutls_session_t  session,  const  char * data,
12       size_t sizeofdata);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       const char * data
19                   contains the data to send
20
21       size_t sizeofdata
22                   is the length of the data
23

DESCRIPTION

25       Send TLS/IA application payload data.  This function  has  the  similar
26       semantics with send().  The only difference is that it accepts a GnuTLS
27       session, and uses different error codes.
28
29       The TLS/IA protocol is synchronous, so you cannot send  more  than  one
30       packet at a time.  The client always send the first packet.
31
32       To  finish  an  application  phase  in  the  server, use gnutls_ia_end‐
33       phase_send().  The client cannot end an application phase unilaterally;
34       rather,  a client is required to respond with an endphase of its own if
35       gnutls_ia_recv indicates that the server has sent one.
36
37       If the EINTR is returned by the internal push function (the default  is
38       send()} then GNUTLS_E_INTERRUPTED will be returned.  If GNUTLS_E_INTER‐
39       RUPTED or GNUTLS_E_AGAIN is  returned,  you  must  call  this  function
40       again, with the same parameters; alternatively you could provide a NULL
41       pointer for data, and 0 for size.
42

RETURNS

44       The number of bytes sent, or a negative error code.
45

REPORTING BUGS

47       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
48       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
49       http://www.gnu.org/gethelp/
50
52       Copyright © 2008 Free Software Foundation.
53       Copying and distribution of this file, with  or  without  modification,
54       are  permitted  in  any  medium  without royalty provided the copyright
55       notice and this notice are preserved.
56

SEE ALSO

58       The full documentation for gnutls is maintained as  a  Texinfo  manual.
59       If  the  info  and gnutls programs are properly installed at your site,
60       the command
61
62              info gnutls
63
64       should give you access to the complete manual.
65
66
67
68gnutls                             2.12.6.1                  gnutls_ia_send(3)
Impressum