Sha256: 9a785c4198bff46ca86b95a93bad7cc86ebf73d7387cc8c4a8916680d4f66b24

Contents?: true

Size: 1.98 KB

Versions: 5

Compression:

Stored size: 1.98 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_ia_send" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_ia_send \- API function
.SH SYNOPSIS
.B #include <gnutls/extra.h>
.sp
.BI "ssize_t gnutls_ia_send(gnutls_session_t " session ", const char * " data ", size_t " sizeofdata ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "const char * data" 12
contains the data to send
.IP "size_t sizeofdata" 12
is the length of the data
.SH "DESCRIPTION"
Send TLS/IA application payload data.  This function has the
similar semantics with \fBsend()\fP. The only difference is that is
accepts a GNUTLS session, and uses different error codes.

The TLS/IA protocol is synchronous, so you cannot send more than
one packet at a time.  The client always send the first packet.

To finish an application phase in the server, use
\fBgnutls_ia_endphase_send()\fP.  The client cannot end an application
phase unilaterally; rather, a client is required to respond with an
endphase of its own if gnutls_ia_recv indicates that the server has
sent one.

If the EINTR is returned by the internal push function (the default
is \fBsend()\fP} then \fBGNUTLS_E_INTERRUPTED\fP will be returned.  If
\fBGNUTLS_E_INTERRUPTED\fP or \fBGNUTLS_E_AGAIN\fP is returned, you must call
this function again, with the same parameters; alternatively you
could provide a \fBNULL\fP pointer for data, and 0 for size.
.SH "RETURNS"
The number of bytes sent, or a negative error code.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
glib2-1.1.9-x86-mingw32 vendor/local/share/man/man3/gnutls_ia_send.3
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_ia_send.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_ia_send.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_ia_send.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_ia_send.3