Web Server Basics Learning

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.