Click or drag to resize
Local Multiplayer for iOS/tvOS/macOS
AppleLocalMultiplayerISessionSetServerPort Method
Sets the server port. Must be called before starting the networking server.

Namespace:  LostPolygon.Apple.LocalMultiplayer
Syntax
C#
void SetServerPort(
	int port
)

Parameters

port
Type: SystemInt32
Server port number. Must be the same as used by the networking server.

Return Value

Type: 
true on success, false on error.
See Also