use standard inttypes
update total send/recv to 64 bits