> I don't know the real purpose of the all mentioned code in Synapse - > but if you need to have data on wire in certain byte order you > could/should use ntoh/ntohl (or its equivalent). I hope these > functions are present on all architectures/supported development tools > (because TCP/IP communication needs them). But I may be wrong.
You are right, and I am using it in RecvStream*. I not know why I am not using it in SendStream too... So, it is fixed now (SVN). 'if not indy then...' and used socket function for change of byte order. Thanks for bugreport. -- Lukas Gebauer. http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. http://geoget.ararat.cz/ - Geocaching solution ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
