Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting the Port of the Server we are connected to
« previous
next »
Print
Pages: [
1
]
Author
Topic: Getting the Port of the Server we are connected to (Read 524 times)
Perlin Noise
March 16, 2013, 05:43:21 PM
how does one do this?
I know
serverConnection.getRawIP()
for the IP address but I need the port.
Ad Bot
Advertisement
Honorabl3
March 16, 2013, 11:22:24 PM
ServerConnection.getAddress();
returns the IP + Port attached.. EX: 0.0.0.0:0000
Perlin Noise
March 16, 2013, 11:23:27 PM
Thanks.
Honorabl3
March 16, 2013, 11:28:22 PM
no prob
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Getting the Port of the Server we are connected to