delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/19/09:57:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <394E2656.CCF2CB5E@vinschen.de>
Date: Mon, 19 Jun 2000 15:55:34 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Bertrand Bourdon <bertrand DOT bourdon AT performanse DOT fr>
CC: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Ethernet address
References: <394E0C88 DOT 6A62A302 AT performanse DOT fr>

Bertrand Bourdon wrote:
> 
> How can I get the address of the card network under Windows NT and
> compile the program under   cygwin?

	struct ifreq ifr[COUNT_OF_NICS + 1];
	struct ifconf ifc;

	ifc.ifc_len = sizeof ifr;
	ifc.ifc_req = ifr;
	if (!ioctl (some_socket_fd, SIOCGIFCONF, &ifc))

	  etc as in UNIX.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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