Click or drag to resize
SphinxClient Constructor (String, Int32)
Initializes a new instance of the SphinxClient class.

Namespace: SphinxConnector.NativeApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
public SphinxClient(
	string host = "127.0.0.1",
	int port = 9312
)

Parameters

host (Optional)
Type: SystemString
The host on which searchd is running.
port (Optional)
Type: SystemInt32
The port on which searchd is listening.
Exceptions
ExceptionCondition
ArgumentNullExceptionhost or is null.
ArgumentOutOfRangeExceptionport is not between 0 and 65535.
See Also