SphinxClient
PHP Manual

SphinxClient::setConnectTimeout

(PECL sphinx >= 0.1.0)

SphinxClient::setConnectTimeoutSet connection timeout

Description

public bool SphinxClient::setConnectTimeout ( float $timeout )

Sets connection timeout (in seconds) for searchd connection.

Parameters

timeout

Timeout in seconds.

Return Values

Returns TRUE on success or FALSE on failure.

See Also


SphinxClient
PHP Manual