Blame doc/functions/gnutls_record_set_timeout
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {void} {gnutls_record_set_timeout} (gnutls_session_t @var{session}, unsigned int @var{ms})
|
|
Packit Service |
4684c1 |
@var{session}: is a @code{gnutls_session_t} type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{ms}: is a timeout value in milliseconds
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function sets the receive timeout for the record layer
|
|
Packit Service |
4684c1 |
to the provided value. Use an @code{ms} value of zero to disable
|
|
Packit Service |
4684c1 |
timeout (the default), or @code{GNUTLS_INDEFINITE_TIMEOUT} , to
|
|
Packit Service |
4684c1 |
set an indefinite timeout.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function requires to set a pull timeout callback. See
|
|
Packit Service |
4684c1 |
@code{gnutls_transport_set_pull_timeout_function()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.1.7
|
|
Packit Service |
4684c1 |
@end deftypefun
|