The system is Solaris 2.4 and the language is C. There is a socket in my
program that is connected to some beast somewhere "out there" that expects
hex values representing 3 float numbers. These change dynamically
during the execution of a program, and flow back and forth.
Additionally, these go on the socket in a buffer of characters
(but still in hex representation).
How do I do this conversion (float to hex and back)?
Thanks.
--
Simon B-)>
: The system is Solaris 2.4 and the language is C. There is a socket in my
Do some research on RPCs (Remote Procedure Calls). Then do a man
on "xdr". There are xdr functions to convert most "types" to a
standard, network transportable, format and back again. These functions
are usable between machines of different Endian types.
Later.
--
Bob Stewart ASE
(310) 335-7152 Air Transportation Division
b...@latcost1.alaao.ats.eds.com
I am definitely NOT speaking for EDS.