diff options
Diffstat (limited to 'doc/functions/gnutls_heartbeat_pong')
-rw-r--r-- | doc/functions/gnutls_heartbeat_pong | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_heartbeat_pong b/doc/functions/gnutls_heartbeat_pong new file mode 100644 index 0000000..d8ffc26 --- /dev/null +++ b/doc/functions/gnutls_heartbeat_pong @@ -0,0 +1,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 |