Quote:
Originally Posted by Windcatcher
Okay, I'll get on it. One question: you mentioned bytes in network order. Is that big-endian? I think there's a standard Windows API call that will put them in network order for me, but I'm not sure.
|
Yea, I'd like to have everything in network order (big-endian) as it'll help with cross-architecture compatibility.
Simply use the function htonl() (or its Delphi equivalent) to convert to/from network order.