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 / BUGS: Network

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Jul 2015 17:35
I have found the following 2 errors.

The first may just be an issue with terminology.

GetInternetState()
Returns 1 if the device is connected to the internet, 0 if not.

This command returns 1 if you are connected to a network. If the network is not connected to the internet, you still get 1.


SetHTTPTimeout
Doesn't do anything. Timeout remains at 30 seconds.
The code below sets the timeout to 5 seconds. The demo page it is querying will not return anything for 10 seconds. At 5 seconds AppGameKit should time out. It actually gets the return flag of -1 at 10 seconds when the page times out on the web server.



Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt

Login to post a reply

Server time is: 2024-11-16 18:10:47
Your offset time is: 2024-11-16 18:10:47