Article View: borland.public.cppbuilder.nativeapi
Article #2725Getting SubNetMask
From: Andreas Osswald
Date: Tue, 16 Jan 2007 18:01
Date: Tue, 16 Jan 2007 18:01
9 lines
1055 bytes
1055 bytes
Hello, is it possible to get the subnetmask of the local PC network adapters? We get the IP adresses of the local PC with the function gethostbyname() additionaly we need the subnetmask but how to get it? Regards Andreas
Technical Details
Message-ID:
<45ad12f0$1@newsgroups.borland.com>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!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,66915431bfa9fcfb,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andreas Osswald" <noname@noname.de> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Getting SubNetMask Date: Tue, 16 Jan 2007 19:01:44 +0100 Lines: 11 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 87.139.121.224 Message-ID: <45ad12f0$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1168970480 87.139.121.224 (16 Jan 2007 10:01:20 -0800) 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!newsgroups.borland.com!not-for-mail