getAddress()PurposeUse the getAddress method to get the address and port that this NetConnection is currently attached to.ReturnsReturns the address and port that this NetConnection is currently attached to, where the address will be of the form: “A.B.C.D:Port”. A .. B are standard IP numbers between 0 and 255 and Port can be between 1000 and 65536. If the connection is local, the string “local” will be returned. If a this NetConnection is not currently connected the method will return a NULL string.
IP: