home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14865 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.6 KB

  1. Path: sparky!uunet!cs.utexas.edu!gateway
  2. From: droelke@spirit.aud.alcatel.com (Daniel R. Oelke)
  3. Newsgroups: comp.unix.questions
  4. Subject: Problem with Xgopher 1.2 and/or gethostbyname
  5. Date: 21 Dec 1992 13:22:58 -0600
  6. Organization: UTexas Mail-to-News Gateway
  7. Lines: 28
  8. Sender: daemon@cs.utexas.edu
  9. Message-ID: <9212211922.AA09890@spirit.aud.alcatel.com>
  10. NNTP-Posting-Host: cs.utexas.edu
  11.  
  12. I just compiled Xgopher 1.2 - my first gopher client.
  13. It appears to work great, but only with numerical IP address.  
  14.  
  15. The problem I have is that the function call to gethostbyname according
  16. to my man pages only resolves hosts listed in /etc/hosts , but apparently
  17. it is intended to (in net.c of xgopher.c) to access the domain name server
  18. and resolve the host this way.  This defficiency of course creates 
  19. problems as I can't use anything other than the IP addresses for
  20. xgopher.
  21.  
  22. My big question is: Is there a workaround or fix for this?
  23.  
  24.  
  25. The flavor of UNIX I am running is 
  26. "SunOS Release 4.1.2 (GENERIC) #1: "
  27. and I am running OpenWindows 3 (and I have gotten around the problems with
  28. the Xmu library).
  29.  
  30. Thanks for any and all help you can give me.
  31.  
  32. Dan Oelke
  33.  
  34. -----------------------------------_---_--------------------------------------
  35. Dan Oelke                         / \ / \              Alcatel Network Systems
  36. droelke@aud.alcatel.com           \  V  /                       Richardson, TX
  37. Phone: (214) 996-5013              \VMS/             #include <std-disclaim.h>
  38.   Fax: (214) 996-7119               \ / 
  39. -------------------------------------V----------------------------------------
  40.