Article View: borland.public.cppbuilder.internet.socket
Article #2116Wan IP: does'nt exist API?
From: Ciccio
Date: Fri, 18 Aug 2006 12:13
Date: Fri, 18 Aug 2006 12:13
12 lines
1286 bytes
1286 bytes
For my lan IP I use API: gethostname.
But for WAN IP?
I have found this example:
#include <network>
using namespace network;
int main() {
address_t ip = get_external_ip();
}
but in Borland C++ 6 there isn't <network> and get_external_ip!!!
There is API for this function? Thanks!
Technical Details
Message-ID:
<y9iFg.74610$_J1.737730@twister2.libero.it>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,2c60f99c887d5385,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!nntp.infostrada.it!twister2.libero.it.POSTED!not-for-mail From: Ciccio <ciccio.unicoTOGLIMI@libero.it> User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: Wan IP: does'nt exist API? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 12 Message-ID: <y9iFg.74610$_J1.737730@twister2.libero.it> Date: Fri, 18 Aug 2006 12:13:18 GMT NNTP-Posting-Host: 151.37.239.28 X-Complaints-To: abuse@libero.it X-Trace: twister2.libero.it 1155903198 151.37.239.28 (Fri, 18 Aug 2006 14:13:18 MET DST) NNTP-Posting-Date: Fri, 18 Aug 2006 14:13:18 MET DST Organization: [Infostrada]