Ethernet address

Corinna Vinschen
Mon Jun 19 06:56:00 GMT 2000

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 Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list