summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_heartbeat_pong
blob: d8ffc2639ec1476e88ae918c65954dd875550d9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
@deftypefun {int} {gnutls_heartbeat_pong} (gnutls_session_t @var{session}, unsigned int @var{flags})
@var{session}: is a @code{gnutls_session_t}  type.

@var{flags}: should be zero

This function replies to a ping by sending a pong to the peer.

@strong{Returns:} @code{GNUTLS_E_SUCCESS}  on success, otherwise a negative error code.

@strong{Since:} 3.1.2
@end deftypefun