Android Learning Note One Client Connection server

Source: Internet
Author: User

1. Client Connection Server instance profiling:

The first step: in the browser, the client input to get the user input content.

The second step: after the browser gets this URL, the internal will send the domain name to DNS for domain name resolution. After the IP address of this URL is parsed, the client is linked to the specified server.

The third step: Implement the TCP/IP protocol with sockets, using socket sockets.

The fourth step: the server port listens to the client's connection, so the client is connected to the server.

2. After the server has heard the client's request, the server will return to the client in three ways, most commonly in the form of HTML, which is the Web page, and can be returned as XML and JSON.

Android Learning Note One Client Connection server

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.