B4J Question how to retrieve device own ip adress?

MbedAndroid

Well-Known Member
Licensed User
Longtime User
for some reason i want to send to the device (ESP8266) the b4j device ip adress using UDP

is there a way to retrieve the sender's Ip in b4j?
 

stevel05

Expert
Licensed User
Longtime User
Try:
B4X:
Dim Server As ServerSocket
Log(Server.GetMyIP)

Requires the jNetwork library.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…