Shared libraries
Masataka Ohta
mohta at necom830.cc.titech.ac.jp
Fri May 10 16:04:25 AEST 1991
In article <1991May9.135637.5408 at batcomputer.tn.cornell.edu>
shore at theory.tn.cornell.edu (Melinda Shore) writes:
>>With the introduction of DNS, struct hostent, a structure returned by
>>gethostbyname(), was changed. A new field, h_addr_list, was added and
>>an old field, h_addr, was replaced by a #define.
>That change was introduced with 4.3BSD, not with dns.
The change was introduced with 4.3BSD to meet the requirements of DNS.
You should have checked the line of h_addr_list in /usr/include/netdb.h
of 4.3BSD.
As I quoted in my previous posting, the words "name server" can be seen
within the comment of the line.
Masataka Ohta
More information about the Comp.unix.internals
mailing list