From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,94fa32bcac4ccbb6,start X-Google-Attributes: gidfee84,public From: John Sanders Subject: Re: gethostbyaddr() doesn't find host (Digital Unix V3.2c) Date: 1996/03/13 Message-ID: <31476356.41C6@globalcom.net>#1/1 X-Deja-AN: 142849734 references: <826554688.24324.0@fersys.demon.co.uk> content-type: text/plain; charset=us-ascii organization: Shentel mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 2.0 (X11; I; OSF1 V3.2 alpha) Yes, I have exactly the same problem. I can't get the gethostbyaddr to find my host eather. I'v turned off the bind server and diddled the /etc/resolv.conf and /etc/svc.conf files and turned off bind in the /etc/rc.config file. This same code works on a Sun 4.3 os. I'v checked byte order and data size and just have run out of ideas. Do I need to write a routine to parse the /etc/hosts file myself? please advise - _____________________________________ john sanders >- it can be done -< -------------------------------------