M MbedAndroid Well-Known Member Licensed User Longtime User Dec 9, 2015 #1 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?
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 Dec 9, 2015 #2 Try: B4X: Dim Server As ServerSocket Log(Server.GetMyIP) Requires the jNetwork library. Upvote 0
M MbedAndroid Well-Known Member Licensed User Longtime User Dec 9, 2015 #3 thanks, it works.... Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 10, 2015 #4 If you want to get rid of the uninitialized warning: B4X: Dim Server As ServerSocket 'ignore Upvote 0