Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin 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 CC: "cygwin AT sourceware DOT cygnus DOT com" Subject: Re: Ethernet address References: <394E0C88 DOT 6A62A302 AT performanse DOT fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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