Wouldn't this be worth adding to the cygwin library? Just a thought, because glibc has similar capabilities...
Cheers, Nicholas --- Alex Vinokur <[EMAIL PROTECTED]> wrote: > ----- Original Message ----- > From: "Corinna Vinschen" <[EMAIL PROTECTED]> > 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:[EMAIL PROTECTED] > 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/