Answer the question
In order to leave comments, you need to log in
How to acknowledge receipt of a TCP data packet and start transmitting?
I am a server I establish a connection via 3 way handshake, then I start receiving data from the client:
IP header
|-Version : 4
|-IP Header Length : 5
|-Type of Service : 0
|-Identification : 26888
|-TTL : 64
|-Flag : 2
|-Offset : 0
|-Protocol : 6
|-IP Chechsum : 54121
|-Source Address : 127.0.0.1
|-Dest. Address : 127.0.0.1
TCP header
|-Source Port : 37987
|-Dest Port : 8000
|-Sequence Number : 568308831
|-Acknowledgement : 1354809856
|-TCP offset : 5
|-TCP flag : 24 (PSH ACK)
|-Window : 43690
|-Checksum : 65144
|-Urgent Pointer : 0
Data :
GET mysite.com?addr=index.html HTTP/1.1
Host: 127.0.0.1:8000
Accept-Encoding: identity
IP header
|-Version : 4
|-IP Header Length : 5
|-Type of Service : 0
|-Identification : 2
|-TTL : 64
|-Flag : 2
|-Offset : 0
|-Protocol : 6
|-IP Chechsum : 15564
|-Source Address : 127.0.0.1
|-Dest. Address : 127.0.0.1
TCP header
|-Source Port : 8000
|-Dest Port : 37987
|-Sequence Number : 1354809856
|-Acknowledgement : 568308927
|-TCP offset : 5
|-TCP flag : 16 (ACK)
|-Window : 53270
|-Checksum : 17592
|-Urgent Pointer : 0
Data is empty
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question