From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ca31841b9f100815,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,ca31841b9f100815,start X-Google-Attributes: gid1164f8,public From: howard@tibinc.com Subject: Problem with getservbyname on ALPHA/OSF1 box Date: 1998/04/15 Message-ID: <6h2mrf$eq$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 344330199 X-Http-User-Agent: Mozilla/3.0Gold (WinNT; I) Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Wed Apr 15 16:22:10 1998 GMT Newsgroups: comp.unix.osf.osf1,comp.sys.dec Hi guys 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? Thanks Howard Lander howard@tibinc.com -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading