gnutls_record_get_max_size — API function

Synopsis

#include <gnutls/gnutls.h>

size_t gnutls_record_get_max_size(gnutls_session_t session);

Arguments

gnutls_session_t session

is a gnutls_session_t type.

Description

Get the record size.  The maximum record size is negotiated by the client after the first handshake message.

Returns

The maximum record packet size in this connection.

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

Info

3.6.9 gnutls