SphinxClient::setServer
(No version information available, might be only in CVS)
SphinxClient::setServer — Set searchd host and port
Описание
public bool SphinxClient::setServer
( string $server
, int $port
)
Sets searchd host name and TCP port. All subsequent requests will use the new host and port settings. Default host and port are 'localhost' and 3312, respectively.
Список параметров
- server
-
IP or hostname.
- port
-
Port number.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
SphinxClient::setServer
There are no user contributed notes for this page.
