send all bytes
read all bytes