View Single Post
Posts: 2,802 | Thanked: 4,491 times | Joined on Nov 2007
#44
Originally Posted by allnameswereout View Post
To get your external IP (as others see it) you can try to parse the output of http://www.whatismyip.org this output is plaintext, IPv4 only.
http://ip.help.me.uk/ does both v4 & v6, but requires a bit more "parsing". Alternatively you can use STUN with libnice.
 

The Following User Says Thank You to lma For This Useful Post: