---
# System prepended metadata

title: TCP
tags: [Networking]

---

###### tags: `Networking`


# TCP



![](https://i.imgur.com/9aulwy7.png)

Gmail:aa098933967901@gmail.com
國立金門大學 資工一 侯智晟

## UDP

![](https://i.imgur.com/ykZ8TuY.png)


## TCP

![](https://i.imgur.com/ISfQnQV.png)


### problems

![](https://i.imgur.com/zVVC8tb.png)

### End to end issus

![](https://i.imgur.com/GQzlRsf.png)

### segment

![](https://i.imgur.com/jccK2m7.png)

### TCP header 

## TCP connection mangement 

### Establish connection 
![](https://i.imgur.com/5DP5021.png)

![](https://i.imgur.com/bo2uyZx.png)

![](https://i.imgur.com/ssMjKjx.png)

#### diagram state 

##### client

![](https://i.imgur.com/2Mo5g1q.png)


##### server 

![](https://i.imgur.com/oINZi70.png)


## Retransmission 

### Timeout/RTT

![](https://i.imgur.com/JICkDQx.png)

### Problems

![](https://i.imgur.com/K34CoTc.png)


### scenario

#### lost ACK
![](https://i.imgur.com/fgrGlmO.png)

#### delay ACK
![](https://i.imgur.com/w19rXmT.png)

#### cumulate ACK

![](https://i.imgur.com/5VCkOOL.png)

### TCP　fate retransmission

![](https://i.imgur.com/QemNGFE.png)





## TCP congestion control

### Additive increase multiplication decrease(AIMD)

![](https://i.imgur.com/KPCSBY7.png)


### liner increase

![](https://i.imgur.com/FcCX8hs.png)

### exponetial increase

![](https://i.imgur.com/JTxSpAc.png)


## Summary

![](https://i.imgur.com/m0TXMHY.png)

Gmail:aa098933967901@gmail.com



