Why TCP is reliable? ( first. theory side)

Many people say ” TCP is more reliable than UDP”. almost know it. but. I think many people don’t  know the why in details.

before starting. please keep this concept in your mind. “Packets are sent and received on the computer network.. this means all data is packaged  by packet on the network ”

now. let’s start it for understand about it..

Reliable mean “arrange the sequence order ” on this issue. Please think about it “what kinds of thing is need for it?? ”

  1. each must know when the start is or when the end is of communications.
  2. the value of sequence.
  3. the storage for rearrange the received data which is not processed.

that’s all, and please check the below TCP header. could you figure out what field is for TCP Reliability?

tcp header에 대한 이미지 검색결과

and let’s see the below that matched fields for.. the reliable conditions those described before.

1. each must know when the start is or when the end is of communications.

TCP Connection Procedure (3-hand shaking ) with TCP Flags ( SYN, FIN, RST )

2. the value of sequence.

TCP managed Data sequence with Sequence Number, Ack Number.

3. the storage for rearrange the received data.

TCP buffer is controlled by TCP window (  window field and Window Option about window scale value -> Window ^ Window Scale value => Total Remain buffer size now )

I hope you got the understand it… I will update this page and add more easier example for it.

Leave a comment