1gnutls_handshake_set_timeout(3) gnutls gnutls_handshake_set_timeout(3)
2
3
4
6 gnutls_handshake_set_timeout - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_handshake_set_timeout(gnutls_session_t session, unsigned
12 int ms);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 unsigned int ms
19 is a timeout value in milliseconds
20
22 This function sets the timeout for the handshake process to the pro‐
23 vided value. Use an ms value of zero to disable timeout, or
24 GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT for a reasonable default value.
25
27 3.1.0
28
30 Report bugs to <bugs@gnutls.org>.
31 Home page: http://www.gnutls.org
32
33
35 Copyright © 2001-2014 Free Software Foundation, Inc..
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice 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 http://www.gnutls.org/manual/
46
47gnutls 3.3.29 gnutls_handshake_set_timeout(3)