This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Getting MAC address within C/C++-program in Windows2000


----- Original Message ----- 
From: "Warren Young" <warren@etr-usa.com>
Newsgroups: gmane.os.cygwin
Sent: Thursday, September 12, 2002 7:08 PM
Subject: Re: Getting MAC address within C/C++-program in Windows2000
http://sources.redhat.com/ml/cygwin/2002-09/msg00602.html


> cgf-cygwin@cygwin.com wrote:
> > 
> > It's entirely possible that there is a problem with Cygwin's interface
> > but I really don't understand why the focus shifted to using Windows
> > mechanisms when a potential actual cygwin solution exists.
> 
> Right on, Chris.  If the Cygwin mechanism is broken, it should be made 
> to work instead of rolling your own outside of Cygwin.
> 
> For what it's worth, in my time of maintiaining the Winsock FAQ, I've 
> come across probably 10 different ways to get the MAC address on 
> Windows.  One works on NetBIOS systems, one on IP-only systems, one uses 
> SNMP, a few are hacks, several are indirect methods...  

Exactly.
See http://groups.google.com/groups?selm=alno5j%241rsu90%241%40ID-79865.news.dfncis.de

> The FAQ itself documents 3 or 4 of them and points to a few more.  
> Then I lost interest in keeping track of that mess.  

Also me.

> Point being: it's much better to let 
> Cygwin handle messes like this.

Exactly.
See http://sources.redhat.com/ml/cygwin/2002-09/msg00922.html

   ==================
   Alex Vinokur
     mailto:alexvn@go.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]