long myqtt_conn_get_timeout ( MyQttCtx ctx)

Allows to get current timeout set for MyQttConn synchronous operations.

Parameters
ctxThe context where the timeout configuration is requested

See also myqtt_conn_timeout.

Returns
Current timeout configured. Returned value is measured in microseconds (1 second = 1000000 microseconds).

References myqtt_mutex_lock(), myqtt_mutex_unlock(), and myqtt_support_getenv_int().

Referenced by myqtt_conn_close().