Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Fri, 9 Mar 2001 14:39:00 +0100 From: bert@mail.svi.nl To: cygwin@cygwin.com Subject: Re: SIOCGIFCONF but not SIOCGIFHWADDR Message-ID: <20010309143900.A12372@mail.svi.nl> Reply-To: bert@mail.svi.nl References: <20010309134737.A12114@mail.svi.nl> <3AA8DB4E.D67C322B@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AA8DB4E.D67C322B@yahoo.com>; from earnie_boyd@yahoo.com on Fri, Mar 09, 2001 at 08:31:58AM -0500 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@mail.svi.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@cygwin.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