Author Topic: Getting the Port of the Server we are connected to  (Read 524 times)

how does one do this?
I know serverConnection.getRawIP() for the IP address but I need the port.

ServerConnection.getAddress(); returns the IP + Port attached.. EX: 0.0.0.0:0000