SFML community forums
Help => Network => Topic started 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:
<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.
-
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.