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: <009c01c25f99$4d51d9c0$cf7b96d4@5at8s8cqeex4qhi> From: "Alex Vinokur" To: "Cygwin Mailing List" 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> <3D80CA10 DOT 9000905 AT etr-usa DOT com> Subject: Re: Getting MAC address within C/C++-program in Windows2000 Date: Thu, 19 Sep 2002 06:59:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 ----- Original Message ----- From: "Warren Young" 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 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... 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 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/