Article View: borland.public.cppbuilder.nativeapi
Article #6150Re: get ip behind dchp
From: Remy Lebeau (TeamB)
Date: Mon, 06 Jun 2005 17:10
Date: Mon, 06 Jun 2005 17:10
16 lines
1412 bytes
1412 bytes
"Evariste HORNECKER" <evariste.horneckerSTOPTHESPAM@neosys.fr> wrote in message news:42a444c7$1@newsgroups.borland.com... > Look at the function "gethostbyaddr" (in the Winsock2 library) gethostbyaddr() is only useful if you already know the IP address to begin with. Nick is trying to find the IP address, so gethostbyaddr() is not helpful in his situation > If you know the name of your computer, you can have the current IP address. You can use gethostname() and gethostbyname() for that. Gambit
Technical Details
Message-ID:
<42a4837a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a42712@newsgroups.borland.com> <42a444c7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9c6ff63c205cc16d X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a42712@newsgroups.borland.com> <42a444c7$1@newsgroups.borland.com> Subject: Re: get ip behind dchp Date: Mon, 6 Jun 2005 10:10:51 -0700 Lines: 18 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: 68.69.17.41 Message-ID: <42a4837a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118077818 68.69.17.41 (6 Jun 2005 10:10:18 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail