gnutls_record_recv
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_record_recv − API function
SYNOPSIS
#include <gnutls/gnutls.h>
ssize_t gnutls_record_recv(gnutls_session_t session, void * data, size_t data_size);
ARGUMENTS
gnutls_session_t session
is a gnutls_session_t structure.
void * data |
the buffer that the data will be read into |
size_t data_size
the number of requested bytes
DESCRIPTION
This function has the similar semantics with recv(). The only difference is that it accepts a GnuTLS session, and uses different error codes. In the special case that a server requests a renegotiation, the client may receive an error code of GNUTLS_E_REHANDSHAKE. This message may be simply ignored, replied with an alert GNUTLS_A_NO_RENEGOTIATION, or replied with a new handshake, depending on the client’s will. If EINTR is returned by the internal push function (the default is recv()) then GNUTLS_E_INTERRUPTED will be returned. If GNUTLS_E_INTERRUPTED or GNUTLS_E_AGAIN is returned, you must call this function again to get the data. See also gnutls_record_get_direction(). A server may also receive GNUTLS_E_REHANDSHAKE when a client has initiated a handshake. In that case the server can only initiate a handshake or terminate the connection.
RETURNS
The number of bytes received and zero on EOF (for stream connections). A negative error code is returned in case of an error. The number of bytes received might be less than the requested data_size.
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
COPYRIGHT
Copyright
© 2008 Free Software Foundation.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty
provided the copyright notice and this notice are
preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls
should give you access to the complete manual.
More Linux Commands
manpages/ntp_misc.5.html
ntp_misc(5) Miscellaneous Options - Linux manual page.......
The broadcast and multicast modes require a special calibration to determine the network delay between the local and remote servers. Ordinarily, this is done...
manpages/shred.1.html
shred(1) - overwrite a file to hide its contents, and option
Overwrite the specified FILE(s) repeatedly, in order to make it harder for even very expensive hardware probing to recover the data. Mandatory arguments to long
manpages/error_one_per_line.3.html
error_one_per_line(3) - glibc error reporting functions.....
error() is a general error-reporting function. It flushes stdout, and then outputs to stderr the program name, a colon and a space, the message specified by the
manpages/asn1_der_decoding.3.html
asn1_der_decoding(3) - Fill the structure *ELEMENT with valu
Fill the structure * element with values of a DER encoding string. The structure must just be created with function asn1_create_element(). Note that the * eleme
manpages/FcInitReinitialize.3.html
FcInitReinitialize(3) - re-initialize library (Man Page)....
Forces the default configuration file to be reloaded and resets the default configuration. Returns FcFalse if the configuration cannot be reloaded (due to confi
manpages/perlfreebsd.1.html
perlfreebsd(1) - Perl version 5 on FreeBSD systems (ManPage)
This document describes various features of FreeBSD that will affect how Perl version 5 (hereafter just Perl) is compiled and/or runs. FreeBSD core dumps from r
manpages/grolbp.1.html
grolbp(1) - groff driver for Canon CAPSL printers (LBP-4 and
grolbp is a driver for groff that produces output in CAPSL and VDM format suitable for Canon LBP-4 and LBP-8 printers. For compatibility with grolj4 there is an
manpages/XkbAllocGeomShapes.3.html
XkbAllocGeomShapes(3) - Allocate space for an arbitrary numb
XkbAllocGeomShapes.3 - Xkb provides a number of functions to allocate and free subcomponents of a keyboard geometry. Use these functions to create or modify key
manpages/aio_init.3.html
aio_init(3) - POSIX asynchronous I/O initialization.........
The GNU-specific aio_init() function allows the caller to provide tuning hints to the glibc POSIX AIO implementation. Use of this function is optional, but to b
manpages/ip6tables-save.8.html
ip6tables-save(8) - dump iptables rules to stdout (ManPage)
iptables-save and ip6tables-save are used to dump the contents of IP or IPv6 Table in easily parseable format to STDOUT. Use I/O-redirection provided by your sh
manpages/services.5.html
services(5) - Internet network services list (Man Page).....
services is a plain ASCII file providing a mapping between human-friendly textual names for internet services, and their underlying assigned port numbers and pr
manpages/yaz-marcdump.1.html
yaz-marcdump(1) - MARC record dump utility - Linux man page
yaz-marcdump reads MARC records from one or more files. It parses each record and supports output in line-format, ISO2709, MARCXML, MarcXchange as well as Hex o
