delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/11:04:59

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <3D80CA10.9000905@etr-usa.com>
Date: Thu, 12 Sep 2002 11:08:32 -0600
From: Warren Young <warren AT etr-usa DOT com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Getting MAC address within C/C++-program in Windows2000
References: <01b001c259ba$601d3070$a66496d4 AT 5at8s8cqeex4qhi> <005b01c259c1$a9538b20$a352a518 AT samsystem> <016601c25a1d$f85078d0$ea6296d4 AT 5at8s8cqeex4qhi> <010901c25a18$240d6dd0$a352a518 AT samsystem> <20020912050005 DOT GA12275 AT redhat DOT com>

cgf-cygwin AT cygwin DOT 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...  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.  Point being: it's much better to let 
Cygwin handle messes like this.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019