Re: gethostname failed in windows

Sgt Daniel W. Erskine (
Mon, 29 Jan 1996 14:38:59 -0600 (CST)

On Fri, 26 Jan 1996, MATT MASON wrote:

> I am trying to show my boss how
> this works using version W08.B47
> on a Novell 4.2.0a., but when I
> start it I get a failed to
> gethostbyname() error. I checked
> the net.cfg file to make sure he
> had the correct # of sockets, and
> had the right path for the hosts
> file which contains an entry for
> his IP. I also searched for other
> hsosts files to no avail. Is
> there something else that I can
> check?
> BTW - the same setup works fine on
> my PC.
> Thanks in advance.
> Matt Mason

You never said what your winsock transport software was (i.e. - Trumpet).
Whatever you're using, you need to reference configuring your Domain Name
Service (DNS). This is where most people get that *imfamous* error message,
"gethostbyname() error" !!!

"THERE IS NO SANITY... Just organized CHAOS!!!"


Sgt Daniel W. Erskine ""
PHONE: (618) 256-6891 ""