Check that gethostbyname does actually return AF_INET addresses, since
authorMartin Pool <mbp@samba.org>
Wed, 15 Aug 2001 07:52:28 +0000 (07:52 +0000)
committerMartin Pool <mbp@samba.org>
Wed, 15 Aug 2001 07:52:28 +0000 (07:52 +0000)
commit7d91d5a619207c60d5c5d9695d01867208057b68
tree4c91283424c154b4fd339ffdac9a923b76282081
parent7169bb4aa91cafc1f36b6f5907ec1bcdd19ad024
Check that gethostbyname does actually return AF_INET addresses, since
that's all we can handle.

Also, try a new method of handling in_addr and hostent that will
hopefully work on Cray machines without 32-bit types.
socket.c