문제

I don't fully understand when a TCP connection ends. That is, when a client sends a request to a server and the server responds, is that response part of the same TCP connection? Or is that response made through a brand new TCP connection?

도움이 되었습니까?

해결책

A TCP connection ends when both sides have closed it. A response is sent over the same connection as the request, and there can be many request/response pairs over a single connection. Or none, just a download for example.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top