Version: 5.5 (switch to 5.6b)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkClient.serverPort

public int serverPort;

Description

The port of the server that this client is connected to.

This will be zero if the client has not connected yet.