delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/18/23:45:36

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: <007701c25f97$469140a0$cf7b96d4@5at8s8cqeex4qhi>
From: "Alex Vinokur" <alexvn AT come DOT to>
To: "Cygwin Mailing List" <cygwin AT cygwin DOT com>
References: <01b001c259ba$601d3070$a66496d4 AT 5at8s8cqeex4qhi> <20020911190139 DOT X1574 AT cygbert DOT vinschen DOT de>
Subject: Re: Getting MAC address within C/C++-program in Windows2000
Date: Thu, 19 Sep 2002 06:44:36 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200

----- Original Message ----- 
From: "Corinna Vinschen" <corinna-cygwin AT cygwin DOT com>
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/

- Raw text -


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