https://github.com/farinap5/tcpsim
TCP/IP protocol from scratch for simulations
https://github.com/farinap5/tcpsim
Last synced: about 1 month ago
JSON representation
TCP/IP protocol from scratch for simulations
- Host: GitHub
- URL: https://github.com/farinap5/tcpsim
- Owner: farinap5
- Created: 2023-03-06T01:01:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T01:24:54.000Z (about 2 years ago)
- Last Synced: 2025-01-21T00:50:33.599Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# State Machine - TCP Simulation

https://www.ibm.com/docs/en/zos/2.1.0?topic=SSLTBW_2.1.0/com.ibm.zos.v2r1.halu101/constatus.html
### Server
| 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. |### Client
| 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. |### Both after conection