HTGetDomainName on NT

On NT 3.5X we're seeing a problem we're not seeing on Win95. On Win95, 
HTGetDomainName calls HTGetHostName which calls gethostname(), which in 
turn returns a fully qualified hostname (e.g. machine.domain.com), but on NT 
3.5X it only gets back the machine name itself. Since Winsock doesn't support 
a getdomainname(), this leaves us in bad shape trying to back our way into 
trying to contact another web server inside the user's domain referred to in 
the URL only by the machine name itself without the domain.

Has anyone worked around this in wwwlib?

        John

---------------------------------------------------------------
John James                    Email:  jjames@firstfloor.COM
First Floor, Inc.             Web:    http://www.firstfloor.COM
444 Castro Street, Suite 200  Tel:    (415) 254-5101
Mountain View. CA 94041       Fax:    (415) 968-1193

Received on Monday, 5 August 1996 19:23:24 UTC