in reply to Re: Pack & Unpack
in thread Pack & Unpack

If you want to avoid "mysterious bit flips", don't use platform-specific notation when sending stuff across the network. In your particular case, "i/A* should be "n/A*". Including "n" is equivalent to calling ntohs() on the number.

--perlplexer