long myqtt_conn_get_connect_timeout ( MyQttCtx ctx)

Allows to get current timeout set for MyQttConn connect operation.

ctxThe context where the connection timeout is being requested.

See also myqtt_conn_connect_timeout.

Current timeout configured. Returned value is measured in microseconds (1 second = 1000000 microseconds). If a null value is received, 0 is return and no timeout is implemented.

References myqtt_support_getenv_int().

Referenced by myqtt_conn_sock_connect_common().