Hi I am writing a application that uses TCP to communicate with a HTTP server. However I am seeing that I don't respond with an ACK packet after each data packet is received.
Is this handled by the RECV routine开发者_运维问答?
Yes, ACK packets are handled by the kernel. In fact, the ACK will often be sent before your process returns from recv()
.
If you are referring to the TCP level ACK, then yes, this is handled by the protocol stack.
精彩评论