SphinxClient::setConnectTimeout

(PECL sphinx >= 0.1.0)

SphinxClient::setConnectTimeoutSet connection timeout

Description

public SphinxClient::setConnectTimeout ( float $timeout ) : bool

Sets connection timeout (in seconds) for searchd connection.

Parameters

timeout

Timeout in seconds.

Return Values

Returns TRUE on success or FALSE on failure.