Can do. Originally with the CRC being in the header itself, it would have been awkward.Admin wrote:Would it not be better if the header data was part of the checksum? After all, it contains important information too which has just as bad a consequences if corrupted.
Will do.Admin wrote: You should spec that the payload length doesn't include the optional checksum too.
The idea behind the acknowledgment number is that there may be multiple threads going on, each sending data. If two processes send data with an acknowledgment request simultaneously, you then know which acknowledgment is which.
Also, if your sending a bulk load of data, it could be possible to acknowledge multiple packets, with just one acknowlegment back. For example, one message that says, acknowledge message 10 to 55, or 200 to 16.