Android Question Question about server socket - Edited

MrKim

Well-Known Member
Licensed User
Longtime User
Edit: I apologize. Post was inadvertantly saved with one line, which I immediately went back in and edited but which evidently did not get saved.

Pixel 3
IF WIFI is OFF
and Airplane mode is ON or I have no service

B4X:
Dim WF As ServerSocket 'ignore
WF.GetMyIP

returns: fe80::d479:80ff:fe18:3ce0%dummy0

Not 127.0.0.1

which appears to be an IPV6 address? But has %dummy in it.

So my question becomes do we need to check for an invalid IPV^ address as well as 127.0.0.1 do determine there is a valid connection?
 
Last edited:
Top