Article View: comp.os.netware.misc
Article #606Re: Is LanWorkPlace Winsock 1.1 compliant?
From: Drew Radtke
Date: Wed, 02 Aug 1995 00:00
Date: Wed, 02 Aug 1995 00:00
22 lines
2208 bytes
2208 bytes
marka@halcyon.com (Mark Anacker) writes: >In article <3vlbe8$o89@r25.cae.ge02.honeywell.de>, epp@ge02.honeywell.de >says... >>In article <3v8rog$f47@data.interserv.net>, marka@halcyon.com says... >>>There seems to be a problem with configuring a host name for the local PC - >>>I can't find a way to do it. This causes problems with programs that need to > : >>There are two ways to do it. Using a DNS server is the normal one. >>The other solution is to enter your own PC's name into the local HOSTS file. > >But how do you tell the stack what it's own name is? It doesn't seem to do >a reverse lookup by address on either the DNS or the local hosts table, so >it can't find it's own local name. Thus gethostname() fails, and there's >no way for an application to find out what it's IP address is... Well; you could tell all your software that your PCs IP number is 127.0.0.1 ! I've done that to get around very stupid software problems. Good luck! -- Drew Radtke - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Technical Details
Message-ID:
<1995Aug2.111800.19493@bradford.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3v8rog$f47@data.interserv.net> <3vlbe8$o89@r25.cae.ge02.honeywell.de> <3vma61$o18@data.interserv.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110d1c,1ae250b5d94ff60f X-Google-Attributes: gid110d1c,public X-Google-Thread: fc8d0,1ae250b5d94ff60f X-Google-Attributes: gidfc8d0,public X-Google-Thread: f5694,1ae250b5d94ff60f X-Google-Attributes: gidf5694,public X-Google-Thread: fa939,1ae250b5d94ff60f X-Google-Attributes: gidfa939,public X-Google-Thread: fe659,1ae250b5d94ff60f X-Google-Attributes: gidfe659,public X-Google-Thread: f8bf7,1ae250b5d94ff60f X-Google-Attributes: gidf8bf7,public X-Google-Thread: 10f035,1ae250b5d94ff60f X-Google-Attributes: gid10f035,public From: A.L.Radtke@bradford.ac.uk (Drew Radtke) Subject: Re: Is LanWorkPlace Winsock 1.1 compliant? Date: 1995/08/02 Message-ID: <1995Aug2.111800.19493@bradford.ac.uk> X-Deja-AN: 107292511 references: <3v8rog$f47@data.interserv.net> <3vlbe8$o89@r25.cae.ge02.honeywell.de> <3vma61$o18@data.interserv.net> organization: University of Bradford, UK newsgroups: comp.os.netware.misc,comp.os.netware.connectivity,Alt.winsock,alt.winsock.programming,alt.winsock.trumpet,bit.listserv.novell,comp.sys.novell,com originator: alradtke@discovery.brad.ac.uk