home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6489 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.3 KB

  1. Path: sparky!uunet!usc!rpi!asylum!nelson
  2. From: nelson@asylum.UUCP (Russ Nelson)
  3. Newsgroups: comp.unix.ultrix
  4. Subject: gethostbyname fails to return an address but otherwise works
  5. Message-ID: <388@asylum.UUCP>
  6. Date: 26 Aug 92 01:37:15 GMT
  7. Reply-To: nelson@crynwr.com
  8. Lines: 22
  9.  
  10. I'm trying to install some software on an ultrix 4.1 system.
  11. Gethostbyname is giving me some trouble.  It returns a non-null result
  12. (therefore it worked), and it correctly returns aliases for a few
  13. hosts that I know has them.  However, the h_addr_list pointer is NULL,
  14. and h_addr points to garbage.
  15.  
  16. DEC support has been contacted, and they "corrected" a small test
  17. program that I wrote to demonstrate the problem.  I've no doubt that
  18. it works on their ultrix.  However, their program doesn't work on my
  19. ultrix.
  20.  
  21. I've reached the limits of my ultrix expertise.  If I could only look at
  22. the source, I could figure out what's wrong, but ultrix isn't a *real* Unix.
  23. Then again, real Unix isn't *real* anymore.
  24.  
  25. Does anyone know if it's possible to configure an ultrix system so that
  26. gethostbyname returns aliases but not addresses??  Thanks in Advance.
  27.  
  28. -- 
  29. --russ <nelson@crynwr.com> I'm proud to be a humble Quaker.
  30. Peace is not the absence of war.  Peace is the presence of a system for
  31. resolving conflicts before war becomes necessary.  War never creates peace.
  32.