How to find your own IP adresses?

BlitzMax Forums/BlitzMax Programming/How to find your own IP adresses?

There is a difference between your internal and external IP address. The LAN (internal) one, is the one that other people use to find you in a router based setup. The external is the Internet IP address.

Blitz has no way finding out your external one, as far as I know. There is a technique with sockets, but I did this:

PHP *does* know your external IP.
Write a script that runs a PHP script on the server. That PHP script simply outputs your IP address. Catch the value with Blitz by reading the text that PHP generates (the IP address).