Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!ubc-cs!uw-beaver!milton!atmos.washington.edu!warren From: warren@atmos.washington.edu (David Warren) Newsgroups: comp.sys.dec Subject: RE: Problems with ntohs Message-ID: Date: 19 Feb 91 22:38:25 GMT Sender: news@milton.u.washington.edu Distribution: comp Organization: Dept. of Atmospheric Sciences, University of Washington Lines: 13 Are we discussing VAX ULTRIX or risc ULTRIX. If your ULTRIX is on a DECstation, you should be able to just reverse the byte order. (I believe that NFS will even do it for you automatically). If, however, you ULTRIX is on VAX architecture you will need to also convert between VAX and IEEE floating point. On a DECstation there are the routines ftoi, itof, dtoi, itod, gtoi and itog that take care of this. I have also seen programs that run under VMS to do the same things. There is probably someone out there that already has them under SUNOS. -- David Warren INTERNET: warren@atmos.washington.edu (206) 543-0945 UUCP: uw-beaver!atmos.washington.edu!warren Dept of Atmospheric Sciences, AK-40 University of Washington