Legacy Documentation: Version 2017.2 (Go to current version)
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.

Did you find this page useful? Please give it a rating: