poidasmith / xlloop

XLLoop Excel Function (UDF) Server
104 stars 49 forks source link

endianness in app (excel, server) vs over the socket #18

Open sdementen opened 10 years ago

sdementen commented 10 years ago

On the conversion from XL to bytes socket stream, is it correct to say the encoding is in big endian while on Intel the data is in little endian ? if so, is there a reason to do this conversion and not to stay in little endian over the socket ? Or can this be choosen in some way (in the INI file per XLLOOP server) ?

sebastien

poidasmith commented 10 years ago

Hi. Yes, you are correct, the xlloop addin is fixed to be big endian. There is currently no way to change this via config. The choice was largely driven by networking standards: http://en.wikipedia.org/wiki/Endianness#Endianness_in_networking. Do you see any issues with the endianness?