Mail Archives: djgpp/1998/12/01/20:45:40
From: | russell DOT thamm AT dsto DOT defence DOT gov DOT au
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: Ethernet address
|
Date: | Wed, 02 Dec 1998 01:23:49 GMT
|
Organization: | Deja News - The Leader in Internet Discussion
|
Lines: | 25
|
Message-ID: | <7424r3$gok$1@nnrp1.dejanews.com>
|
References: | <73ugmb$40r$1 AT nslave1 DOT tin DOT it>
|
NNTP-Posting-Host: | 203.5.217.4
|
X-Article-Creation-Date: | Wed Dec 02 01:23:49 1998 GMT
|
X-Http-User-Agent: | Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
|
X-Http-Proxy: | 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 203.5.217.4
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
In article <73ugmb$40r$1 AT nslave1 DOT tin DOT it>,
"Marco Calcagno" <sioserge AT tin DOT it> wrote:
> Is it possible to write a C function for getting the ethernet address of the
> local LAN adapter ?
> Thanks in advance
>
>
What driver are you using - packet, winsock ?
If you are using a packet driver, take a look at the WATTCP package
or the KA9Q package for DJGPP. Both of these get the ethernet address
as well as lots of other stuff. The packet driver specification would
be very useful as well. I can provide you with simpler code (no TCP/IP)
if that would help.
If you are talking about using Winsock, I don't know.
russell
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
- Raw text -