B4J Question ip machine pc (windows or mac)

ivanomonti

Well-Known Member
Licensed User
Hello everybody, I'm honing a small software for Telecommunication UPD server (desktop (b4j)) and client (Android) or (iOs), using the following code to retrieve ip server (desktop (b4j)) use;

Private SS As ServerSocket
SS.Initialize (6002, "ss")
ip = SS.GetMyIP

the result is not what I expect namely 192.168.1.xx but other as 137.10.211.xxx

I do not understand, how can I retrieve ip of the machine where the server boot!
 

ivanomonti

Well-Known Member
Licensed User
I would have no need for local ip of the machine is recovered locally without using the internet.

Thank
 
Top