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 is 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
43       Returns the number of bytes sent, or a negative error code.
44

REPORTING BUGS

46       Report bugs to <bug-gnutls@gnu.org>.
47
49       Copyright © 2006 Free Software Foundation.
50       Permission is granted to make and distribute verbatim  copies  of  this
51       manual  provided  the  copyright  notice and this permission notice are
52       preserved on all copies.
53

SEE ALSO

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