3

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?

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

1 Answer 1

1

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.

1
  • Can the receiver send the ack segment with payload? I mean, the ack segment is used as both "confirmation" and "sending data"(thus will wait for an ack from remote.
    – Shuumatsu
    Commented Apr 14, 2021 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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