Click or drag to resize

GameModeBuilderUseTcpClient Method (String, Int32)

Note: This API is now obsolete.

Use a TCP client to communicate with the SampSharp server.

Namespace:  SampSharp.Core
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
[ObsoleteAttribute("Multi-process mode is deprecated and will be removed in a future release.")]
public GameModeBuilder UseTcpClient(
	string host,
	int port
)

Parameters

host
Type: SystemString
The host to which to connect.
port
Type: SystemInt32
The port on which to connect.

Return Value

Type: GameModeBuilder
The updated game mode configuration builder.
See Also