Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: shcun1@penfold.cc.monash.edu.au (Mr SH Cunningham)
Subject: gethostid() never works onAlpha
Date: 1995/10/30	[thread overview]
Message-ID: <471qi0$uc7@harbinger.cc.monash.edu.au> (raw)

Whenever I use gethostid(), it always returns 0, no matter which DEC alpha
machine I run the program using it on.  How can I get the DARPA Internet
address for a DEC alpha machine running Digital Unix?

I recall reading a while ago that you need to use some socket() call
or ioctl() or both, but I can't recall the arguments required to return
the DARPA Internet address (the number shown when the machine boots eg.
ln0: DEC LANCE Ethernet Interface, hardware address: 03-CF-2D-3C-A0-DC).




             reply	other threads:[~1995-10-30  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-30  5:00 Mr SH Cunningham [this message]
     [not found] ` <danpop.815090660@rscernix>
1995-11-06  5:00   ` gethostid() never works onAlpha Eric Werme
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox