Version: 2018.1
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.