| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {unsigned int} {gnutls_heartbeat_get_timeout} (gnutls_session_t @var{session}) |
| 6 |
@var{session}: is a @code{gnutls_session_t} type. |
| 7 |
|
| 8 |
This function will return the milliseconds remaining |
| 9 |
for a retransmission of the previously sent ping |
| 10 |
message. This function is useful when ping is used in |
| 11 |
non-blocking mode, to estimate when to call @code{gnutls_heartbeat_ping()} |
| 12 |
if no packets have been received. |
| 13 |
|
| 14 |
@strong{Returns:} the remaining time in milliseconds. |
| 15 |
|
| 16 |
@strong{Since:} 3.1.2 |
| 17 |
@end deftypefun |