Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020921170656.37219.qmail@web21008.mail.yahoo.com> Date: Sat, 21 Sep 2002 10:06:56 -0700 (PDT) From: Nicholas Wourms Subject: Re: Getting MAC address within C/C++-program in Windows2000 To: Alex Vinokur , Cygwin Mailing List In-Reply-To: <007701c25f97$469140a0$cf7b96d4@5at8s8cqeex4qhi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Wouldn't this be worth adding to the cygwin library? Just a thought, because glibc has similar capabilities... Cheers, Nicholas --- Alex Vinokur wrote: > ----- Original Message ----- > From: "Corinna Vinschen" > Newsgroups: gmane.os.cygwin > Sent: Wednesday, September 11, 2002 7:01 PM > Subject: Re: Getting MAC address within C/C++-program in > Windows2000 > http://sources.redhat.com/ml/cygwin/2002-09/msg00531.html > > > On Wed, Sep 11, 2002 at 07:40:50PM +0200, Alex Vinokur wrote: > > > ################### > > > Windows 2000 > > > CYGWIN_NT-5 > > > ################### > > > > > > Is it possible to get MAC address within C/C++-program ? > > > > ioctl(SIOCGIFHWADDR, ...) as on POSIX systems. > > > [snip] > > Thanks. It works OK in Cygwin. > > See > 1. Floyd Davidson's program (UNIX): > http://groups.google.com/groups?selm=87ofbox7xn.fld%40barrow.com > > 2. C++ Wrapper around the Floyd Davidson's program (Cygwin on > Windows 2000): > http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4798&lngWId=3 > http://groups.google.com/groups?selm=ama8q9%2441lfs%241%40ID-79865.news.dfncis.de > > > ================== > Alex Vinokur > mailto:alexvn AT go DOT to > http://up.to/alexvn > ================== > > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/