SphinxClient::setConnectTimeout

(PECL sphinx >= 0.1.0)

SphinxClient::setConnectTimeoutSet connection timeout

˵��

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

Sets connection timeout (in seconds) for searchd connection.

����

timeout

Timeout in seconds.

����ֵ

�ɹ�ʱ���� TRUE�� ������ʧ��ʱ���� FALSE��