Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / App player using a BOGON IP address

Author
Message
Dale Schultz
3
Years of Service
User Offline
Joined: 1st Nov 2021
Location: Maine, USA
Posted: 10th Sep 2022 03:24 Edited at: 10th Sep 2022 17:17
So I have not noticed this before but this evening when running some code on the app player I noticed that it was reporting its IP address in a BOGON IP range.



The true IP address of the Android Pixel 4a phone is in the 192.168.86.x range and the AppGameKit debugger finds it fine at its true address address.
I killed the AppGameKit player app and started it again. Same result.

So where is this BOGON address coming from, and why does the AppGameKit code report this in the player screen and also in AppGameKit code via GetDeviceIP() ?

App player version: Jun 27 2022

Attachments

Login to view attachments
Dale Schultz
3
Years of Service
User Offline
Joined: 1st Nov 2021
Location: Maine, USA
Posted: 10th Sep 2022 23:08
after a restart of the phone it is now showing the correct IP.
Yesterday I did join the wifi at a store, but it is still a mystery as to why it reported an incorrect IP address.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th Sep 2022 15:56
AGK will return the first address that it finds, it looks like that one is used by carrier networks, so it probably found the mobile data network before the WiFi network
Dale Schultz
3
Years of Service
User Offline
Joined: 1st Nov 2021
Location: Maine, USA
Posted: 16th Dec 2022 20:19
I dont have mobile data.

Login to post a reply

Server time is: 2024-11-23 08:06:05
Your offset time is: 2024-11-23 08:06:05