delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/09/08:59:00

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Server-Uuid: c41a640a-a9e9-11d4-8124-00508bd3f8dc
Message-ID: <200103091357.f29Dv2X12365@dymwsm09.mailwatch.com>
From: "Fleischer, Karsten (K.)" <kfleisc1 AT getrag-ford DOT com>
To: "'bert AT mail DOT svi DOT nl'" <bert AT mail DOT svi DOT nl>,
"Cygwin (E-mail 3)" <cygwin AT cygwin DOT com>
Subject: RE: SIOCGIFCONF but not SIOCGIFHWADDR
Date: Fri, 9 Mar 2001 08:55:21 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2651.58)
X-WSS-ID: 16B63F754802-01-01
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA31405

'arp -a' from DOS prompt or bash gives you the MAC address. But I don't know
the Windows API functions behind 'arp'.

Hope this helps.

Karsten

> -----Original Message-----
> From: bert AT mail DOT svi DOT nl [mailto:bert AT mail DOT svi DOT nl]
> Sent: Freitag, 9. März 2001 13:39
> To: cygwin AT cygwin DOT com
> Subject: Re: SIOCGIFCONF but not SIOCGIFHWADDR
> 
> 
> If only I knew how to retrieve that information from Windows.
> I did look at the Cygwin source for SIOCGIFCONF, which searches
> the registry for the IP adress + mask.  But in the registry
> I was unable to find the MAC address.  So how to retrieve
> that information from Windows using whatever Windows API calls?
> 
> Bert
> 
> On Fri, Mar 09, 2001 at 08:31:58AM -0500, Earnie Boyd wrote:
> > bert AT mail DOT svi DOT nl wrote:
> > > 
> > > Cygwin supports ioctl(SIOCGIFCONF) just fine, which is great!, but
> > > ioctl(SIOCGIFHWADDR) does not seem to be supported as of 
> SIOCGIFHWADDR.
> > > As I need to find out the Ethernet hardware address is 
> there another way
> > > to get this information?
> > > 
> > 
> > You could download the Cygwin source, add the support you need and
> > submit a patch for consideration to cygwin-patches AT cygwin DOT com
> > 
> > Earnie.
> > 
> > P.S.:  See http://cygwin.com/cvs.html for how to get the CVS source.
> > 
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> > 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
> 
> 


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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