ThoMo: uses hton / ntoh to pass the size
Merge pull request #229 from ricardoquesada/thomo

ThoMo: uses hton / ntoh to pass the size