1) socket communication is equivalent to two people by telephone, the HTTP protocol equivalent to the use of the telephone in Chinese
2) Http1.1 is a short connection, 1.1 is a long connection, that is, the server receives a request and sends a response and waits for a period of time to see if the browser has acquired a new connection during this time period.
3). NET Server is essentially a mechanism for clients and servers to communicate with their sockets
(Image source Http://goodcandle.cnblogs.com/archive/2005/12/10/294652.aspx)
After startup, the server creates a socket that listens for client requests, binds port 80 and the TCP protocol, waits for the client's connection (that is, the request),
After receiving the request, the request message is processed according to the HTTP protocol, finally the socket is written, the client receives the response message, and the client browser parses the message and renders the result.
Web Server Basics Learning