Click or drag to resize
LibrarySpawnNewConnection Method
Before connecting to a TeamSpeak 3 server, a new Connection needs to be spawned. With a Connection a connection can be established and dropped multiple times, so for simply reconnecting to the same or another server no new Connection needs to be spawned but existing ones can be reused. However, for using multiple connections simultaneously a new Connection has to be spawned for each connection.

Namespace:  TeamSpeak.Sdk.Client
Assembly:  TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntax
public static Connection SpawnNewConnection(
	int port = 0
)

Parameters

port (Optional)
Type: SystemInt32
Port the client should bind on. Default is 0 to let the operating system chose any free port.

Return Value

Type: Connection
a new Connection.
See Also