Article View: comp.sys.dec
Article #3156RE: Problems with ntohs
From: David Warren
Date: Tue, 19 Feb 1991 22:38
Date: Tue, 19 Feb 1991 22:38
13 lines
1245 bytes
1245 bytes
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
Technical Details
Message-ID:
<WARREN.91Feb19143825@rainbow.atmos.washington.edu>Path:
arc1-ca.pugleaf.net!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!warrenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <WARREN.91Feb19143825@rainbow.atmos.washington.edu> 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