This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Ethernet address
- To: Bertrand Bourdon <bertrand dot bourdon at performanse dot fr>
- Subject: Re: Ethernet address
- From: Corinna Vinschen <corinna at vinschen dot de>
- Date: Mon, 19 Jun 2000 15:55:34 +0200
- CC: "cygwin at sourceware dot cygnus dot com" <cygwin at sourceware dot cygnus dot com>
- References: <394E0C88.6A62A302@performanse.fr>
- Reply-To: cygwin <cygwin at sourceware dot cygnus dot com>
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@sourceware.cygnus.com