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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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