void vortex_connection_connect_timeout ( VortexCtx ctx,
long  microseconds_to_wait 

Allows to configure vortex connect timeout.

This function allows to set the TCP connect timeout used by vortex_connection_new_full and vortex_connection_new.

If you call to create a new connection with vortex_connection_new and connect does not succeed within the period vortex_connection_new will return with a non-connected vortex connection.

Value configured on this function, will be returned by vortex_connection_get_connect_timeout. By default, if not configured, no timeout is implemented.

See also vortex_connection_timeout which implements the general timeout used by vortex engine for I/O operations.

ctxThe context where the operation will be performed.
microseconds_to_waitTimeout value to be used. The value provided is measured in microseconds (1 seg = 1000000 us). Use 0 to restore the connect timeout to the default value.

References vortex_support_setenv(), and vortex_support_unsetenv().