TCP Transport control Protocol -PART 1
There was a need of protocol which can sent the data over a medium that is lossy . In simple term lossy is medium where data can be lost or alter.If an error occurs, there are 2 ways it can be taken care:
- Error correction code
- Resent the data again until its properly received
Resent the data need to fulfill 2 condition to make it worth , first whether the receiver has received the packet and and second whether the packet it received was the same one the sender sent.
This method to sent signal by receiver to sender that pack is received is known as Acknowledgement (ACK). So the sender should send a packet , stop and wait until ACK arrives from receiver.Once Ack is received by sender, it sent another packet and wait for Ack and this process continues.

But this process of stop and wait gives us 2 problem to taken care
- How long should the sender wait for an ACK?
- How to recognize duplicate Packets
Lets take each problem one by one starting with second one i.e recognize duplicate packets .
- Question is how do i Recognize duplicate packet
- Use Sequence Number -Its unique number Continue reading