State Machine - TCP Simulation
![](https://camo.githubusercontent.com/77832af3414aa2d031a63a921bff35ee24c55778e717047bba480af192ad3ab1/68747470733a2f2f7777772e69626d2e636f6d2f646f63732f656e2f53534c5442575f322e312e302f636f6d2e69626d2e7a6f732e763272312e68616c753130312f6477676c303030342e676966)
https://www.ibm.com/docs/en/zos/2.1.0?topic=SSLTBW_2.1.0/com.ibm.zos.v2r1.halu101/constatus.html
Count |
State |
Received |
Sent |
Comment |
1 |
Closed |
|
|
|
2 |
Listen |
|
|
Server received "listen" call and now it is waiting for connection. |
3 |
SynRcvd |
SYN |
SYN,ACK |
Server received SYN when listening and sent SYN,ACK |
4 |
Estblsh |
ACK |
|
Server Received ACK and the connection is established. |
Count |
State |
Sent |
Received |
Comment |
1 |
Closed |
|
|
|
2 |
SynSent |
SYN |
SYN,ACK |
The client is in "SynSent" state while waiting for SYN,ACK after a SYN sent for the server. |
3 |
Estblsh |
ACK |
|
Client received the SYN,ACK and sent the ACK. Now the connection is established. |