calculate the rate of bytes sent and received.