I use an Android box with an ethernet interface.
The box is connected to network using ethernet.
The serversocket.GetMyIp returns correct IP, both with wifi enabled and disabled.
When I enable tethering(Hotspot) then serversocket.GetMyIp returns the tethering IP (192.168.43.1)
Anyone have an idea how I can get correct ethernet IP with tethering enabled?
The box is connected to network using ethernet.
The serversocket.GetMyIp returns correct IP, both with wifi enabled and disabled.
When I enable tethering(Hotspot) then serversocket.GetMyIp returns the tethering IP (192.168.43.1)
Anyone have an idea how I can get correct ethernet IP with tethering enabled?