TcpSettings class

TcpSettings class

Represents TCP network settings.

The TcpSettings type exposes the following members:

Constructors

Constructor Description
init Initializes a new TcpSettings instance.

Properties

Property Description
connect_timeout The connect timeout in milliseconds.
listening_port The listening port.
receive_timeout The receive timeout in milliseconds.
retry_timeout The retry timeout in milliseconds.
send_timeout The send timeout in milliseconds.

Example

from groupdocs.search.scaling.configuring import TcpSettings

# base_port is the starting port number for the master node
settings = TcpSettings(base_port, 3000, 3000, 3000, 1000)

See Also