2

In TCP/IP communication, we know that when a sender sends a packet containing some data, the receiver has to return an ACK packet. Does this ACK packet has to carry the same payload that the receiver got or it is just turning on ACK flag in the header and the next serial number?

  • Actually, TCP does not normally send an ACK for each segment (not packet) containing data. TCP sends an ACK for each window. – Ron Maupin Sep 4 '16 at 16:49
0

it is just turning on ACK flag in the header and the next serial number

Yup.

Repeating the payload would just lead to unnecessary duplicating of data that has to be carried across the network. The Acknowledgement number itself is sufficient to tell the initial sender exactly what bits of data have been received.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.