SFML community forums

Help => Network => Topic started by: charliesnike on November 24, 2014, 02:07:09 pm

Title: alternative to whatismyip.org
Post by: charliesnike on November 24, 2014, 02:07:09 pm
Hi,

to retrieve the public ip address, the website www.whatismyip.org is queried. Unfortunately, sometimes (seldomly, but it happens) this site is down, so it may be useful to check another site, too?
There is http://checkip.dyndns.org which sends back a strings like
Code:

Quote
<html><head><title>Current IP Check</title></head><body>Current IP Address: 84.58.110.116</body></html>

which is a little more work to parse than the other one but I think it's worth.
Title: Re: alternative to whatismyip.org
Post by: Laurent on November 24, 2014, 02:13:46 pm
Quote
to retrieve the public ip address, the website www.whatismyip.org is queried
Nop... it's using http://www.sfml-dev.org/ip-provider.php.