You might want to look into coding for UPNP (Universal Plug-and-Play) most
of these dsl/cable modem routers support it now, and this may provide the
functionality you are looking for.
Otherwise, if you are looking for the actual public IP address of the
router, you might be out of luck, as most of these routers only provide an
HTML interface to their settings, and have done away with telnet or SNMP
access to their settings.
"Gav" <an*******@discussions.microsoft.com> wrote in message
news:52**********************************@microsof t.com...
hello all,
I had written a program a while back which simply grabs the ip address of
my pc and using ftp uploads the file to a webspace. (This was written in
C++).
I have now purchased a Linksys router so now the IP address that I want is
stored in the router and my pc gets a 192.168.0.x ip address, does anybody
know how I can get the ip address from my router?
Thanks
Gav