Reputation: 21
I have an application and I am seeing packets being re-transmitted multiple times. connection is reset after multiple re-transmits. In Wireshark, I can see the packet reaching the server, but I do not see the packet at the application level. I want to know how I can check if the packet is dropped at the TCP layer? When does TCP send DATA packet ACK? After delivering the packet to an application or after receiving the DATA packet on the socket?
Upvotes: 0
Views: 1297
Reputation: 123674
When does TCP send DATA packet ACK? After delivering the packet to an application or after receiving the DATA packet on the socket?
The ACK is sent by the OS after the data are successfully put into the sockets read buffer. No application logic is involved here yet.
Upvotes: 1