Click or drag to resize

TcpCommunicationClient Constructor

Initializes a new instance of the TcpCommunicationClient class.

Namespace:  SampSharp.Core.Communication.Clients
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public TcpCommunicationClient(
	string host,
	int port
)

Parameters

host
Type: SystemString
The host.
port
Type: SystemInt32
The port.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown if the specified port is invalid.
ArgumentNullExceptionThrown if host is null.
See Also