void nopoll_conn_connect_timeout ( noPollCtx ctx,
long  microseconds_to_wait 
)

Allows to configure nopoll connect timeout.

This function allows to set the TCP connect timeout used by nopoll_conn_new.

Parameters
ctxThe context where the operation will be performed.
microseconds_to_waitTimeout value to be used. The value provided is measured in microseconds. Use 0 to restore the connect timeout to the default value.