🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5604

How to find WAN IP adr in a C++?

#5604
From: David
Date: Thu, 22 Jul 2004 09:13
6 lines
1017 bytes
My computer receives its IP adr from the router which is connected to cable
modem. I can check teh IP adr of the modem via
http://www.webcogs.com/whatsmyipaddress.aspx

How can I find this IP adr (IP adr of my cable modem) from a C++ application
?
Technical Details
Message-ID: <40ff854d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,b354fa99cd96f2ad,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: <David>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: How to find WAN IP adr in a C++?
Date: Thu, 22 Jul 2004 19:13:49 +1000
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 211.30.68.31
Message-ID: <40ff854d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090487629 211.30.68.31 (22 Jul 2004 02:13:49 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail