1
Network / Packet Endian Conversions
« on: May 23, 2010, 06:31:19 am »
I've just found this library (SFML 1.6) and in particular would like to use some of the networking classes. I noticed that in the packet class all of the integer types are corrected for Endian issues using ntohl/htonl and friends but none of the floating point types are. Is this an oversight?
P.S. I really like the Packet abstraction it feels very natural and is easily extended. When I first saw it I had this feeling of WOW this is what I've been looking for!
P.S. I really like the Packet abstraction it feels very natural and is easily extended. When I first saw it I had this feeling of WOW this is what I've been looking for!