Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!gatech!news.mathworks.com!uunet!in2.uu.net!xyzzy!nntp
From: thomas.h.robinson@boeing.com (Thomas H. Robinson)
Subject: Re: howto: access PC serial#
X-Nntp-Posting-Host: gandalf.rt.cs.boeing.com
Message-ID: <MPG.cf11d7c8449d79f989682@xyzzy.cs.boeing.com>
Sender: nntp@news.boeing.com (NNTP News Access)
Organization: BI&SS Research & Technology
X-Newsreader: MicroPlanet Gravity v1.01
References: <328189FD.22C9@zeta.org.au> <55trua$10ef@watnews1.watson.ibm.com> <duckyE0JBsu.IDr@netcom.com> <3282F5EE.B7A@zeta.org.au> <Jan-0911960930110001@news.imagina.com> <LIEBELT.96Nov11110304@gaston.arsnova.com>
Date: Mon, 11 Nov 1996 19:25:23 GMT
Lines: 20

In article <LIEBELT.96Nov11110304@gaston.arsnova.com>, 
liebelt@gaston.arsnova.com says...
...
> I have a DST image just in front of me, and there in is a method with
> the following body:
> 
IPAddress related stuff deleted....

The IP Address is NOT what you need.  IP addresses are supposed to be 
unique, but are a configurable parameter on every computer I've ever seen 
and with PC's the growing use of DHCP means that IP addresses are 
assigned dynamically at boot time.

Jan was referring to the PHYSICAL address which is encoded on the 
Ethernet board in some way.  The sockets api does not provide access to 
this address in Smalltalk OR in C/C++.  Access may depend on system type, 
and for PCs, may depend on the ethernet board vendor.  You could look to 
see if NDIS provides access...

Tom
