<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Century Schoolbook" size=2>Well then my follow-up e-mail is 
completely useless.</FONT></DIV>
<DIV><FONT face="Century Schoolbook" size=2></FONT> </DIV>
<DIV><FONT face="Century Schoolbook" size=2>-Warren Agin</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=gaf@blu.org href="mailto:gaf@blu.org">Jerry Feldman</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=discuss@blu.org 
  href="mailto:discuss@blu.org">discuss@blu.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, June 26, 2002 2:32 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Win9x question...</DIV>
  <DIV><BR></DIV>I think you still need to put this in context. Kevin is writing 
  a program. <BR>It is easy to find this informaiton by hand, more difficult to 
  get it <BR>programatically. I can generally answer much of the programming 
  questions <BR>in C or C++ but not in terms of a BASIC dialect I don't know. 
  <BR>From a program there are roughtly 3 ways:<BR>1. Directly through an API. 
  (best way)<BR>2. Indirectly by calling a standard command and parsing the 
  output.<BR>3. By looking at Windows internal structures. I consider the 
  Registry as an <BR>internal structure in this context). <BR><BR>Host names are 
  generally associated with each interface. On Windows, there <BR>are pseudo 
  interfaces. So you need to find the one associated with the NIC <BR>or the IP 
  address, or on a LAN without IP, the appropriate host name, also 
  <BR>associatred with a NIC card. <BR>On 26 Jun 2002 at 13:46, Warren E. Agin 
  wrote:<BR><BR>> I can confirm the first one. The second is likely dependent 
  on the networking configuration - my registry does not contain that setting 
  option.<BR><BR>--<BR>Jerry Feldman <<A 
  href="mailto:gaf@blu.org">gaf@blu.org</A>><BR>Associate Director<BR>Boston 
  Linux and Unix user group<BR><A 
  href="http://www.blu.org">http://www.blu.org</A> PGP key id:C5061EA9<BR>PGP 
  Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 
  1EA9<BR><BR>_______________________________________________<BR>Discuss mailing 
  list<BR><A href="mailto:Discuss@blu.org">Discuss@blu.org</A><BR><A 
  href="http://www.blu.org/mailman/listinfo/discuss">http://www.blu.org/mailman/listinfo/discuss</A><BR></BLOCKQUOTE></BODY></HTML>