From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ca31841b9f100815 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,ca31841b9f100815 X-Google-Attributes: gidfee84,public From: Paul Black Subject: Re: Problem with getservbyname on ALPHA/OSF1 box Date: 1998/04/16 Message-ID: <3535ADC7.5EBA@vf.vodafone.co.uk>#1/1 X-Deja-AN: 344581949 Content-Transfer-Encoding: 7bit References: <6h2mrf$eq$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=us-ascii Organization: Vodafone Ltd. Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.sys.dec howard@tibinc.com wrote: > I've been porting an application to a DEC alpha box and I am having trouble > with getservbyname. Specifically after my call to getservbyname, the value of > the s_port field in the servent structure returned is 37146, which is nowhere > close to the value of the service I asked for. The s_name and s_proto fields > are fine, they are exactly what I asked for and exactly what is in the > services file. I checked, and we are definitely using the services file. Does > this ring a bell to anybody? Were you by any chance after 6801 as the result? If so, think network order. Paul