TCP control
An application opens a connection to a server running on a remote host. The client sends 1000 bytes of data to the server, the server writes back a 100-byte response. The client then closes the connection. Draw a sequence diagram outlining the exchanged packets. Number the packets and fill the table below. Assume that the client opens the connection with SEQ#=5000 and the server with SEQ#=7000.
|
Packet # |
SYN |
ACK |
FIN |
SEQ# |
ACK# |
Payload length |
|
1 |
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
7 |
|
|
|
|
|
|
|
8 |
|
|
|
|
|
|
|
9 |
|
|
|
|
|
|
|
10 |
|
|
|
|
|
|
|
11 |
|
|
|
|
|
|
|
12 |
|
|
|
|
|
|