getPort method

int getPort()

Get port number

Implementation

int getPort() {
  return port;
}