Version: 2018.1
public int networkPort ;

Description

The network port currently in use.

For clients, this is the port of the server connected to. For servers, this is the listen port.