Programmatically detecting my router's IP address
Posted on 2004-10-04
How can I programmatically obtain my router's IP address? I have 2 computers on this router, and when I do a :
(as suggested by someone in an old question of mine), it just returns the local router-assigned IP address - 192.168.x.xxx.
I need to be able to get the main IP address of my router, ie. 24.xxx.xxx.xxx