Fix the bytes sent and receive

The char length not enough to hold value of GB