1gnutls_heartbeat_get_timeout(3) gnutls gnutls_heartbeat_get_timeout(3)
2
3
4
6 gnutls_heartbeat_get_timeout - API function
7
9 #include <gnutls/gnutls.h>
10
11 unsigned int gnutls_heartbeat_get_timeout(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls_session_t type.
16
18 This function will return the milliseconds remaining for a retransmis‐
19 sion of the previously sent ping message. This function is useful when
20 ping is used in non-blocking mode, to estimate when to call
21 gnutls_heartbeat_ping() if no packets have been received.
22
24 the remaining time in milliseconds.
25
27 3.1.2
28
30 Report bugs to <bugs@gnutls.org>.
31 Home page: https://www.gnutls.org
32
33
35 Copyright © 2001- Free Software Foundation, Inc., and others.
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright no‐
38 tice and this notice are preserved.
39
41 The full documentation for gnutls is maintained as a Texinfo manual.
42 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
43 visit
44
45 https://www.gnutls.org/manual/
46
47gnutls 3.7.6 gnutls_heartbeat_get_timeout(3)