How to return the WAN IP?

Blitz3D Forums/Blitz3D Programming/How to return the WAN IP?

My PCs are behind a router (192.168.x.x). I need to find my WAN IP with Blitz3D and return it. Any ideas?

The easiest way would be to open a stream to a PHP script:

<?php
  echo $_SERVER['REMOTE_ADDR'];
?>