W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > September to December 1995

Host: fqdn

From: Michael Shapiro <mshapiro@ncsa.uiuc.edu>
Date: Tue, 3 Oct 1995 22:23:16 -0500 (CDT)
Message-Id: <9510040323.AA12276@void.ncsa.uiuc.edu>
To: http-wg <http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com>
Is it known how to convert a non-fqdn to a fqdn in exactly the
same way that gethostbyname() does it when it looks up the IP address?

My experiments with the hostent returned by gethostbyname() did not
have the fqdn in certain cases.  I looked at Mac/Windows/Unix
gethostbyname() and the Unix version did not return the fqdn.

    hostent = gethostbyname("sdg")

should have set hostent->h_name to "sdg.ncsa.uiuc.edu" but it only was
set to "sdg".

(Note - the Mac and Windows version of gethostbyname() did set
hostent->h_name to the fqdn "sdg.ncsa.uiuc.edu").
Received on Tuesday, 3 October 1995 20:26:09 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:15 UTC