ios-Network Fundamentals

Source: Internet
Author: User

Basic concepts of the network
Client: Application C/S
Servers: machines that provide services, data, and resources to clients
Request: Client requests data from server
Response: The server responds to client requests and is typically returned to client data

What is a URL
Uniform Resource Locator (Uniform Resource Locator)
Each resource in the network corresponds to a unique address-url

Basic format for URLs
Protocol://HOST Address: Port number/path
Protocol: Different protocols represent different ways of acquiring resources
Host Address: Unique identifier of the host (IP address, domain name)
Path: The exact location of the resource in the host

Common protocols for URLs
HTTP, FTP, mailto, File, tel://, sms://

What is the HTTP protocol
Hypertext Transport Protocol (Hypertext Transfer Protocol)
Conventions that the browser and Web server communicate with
The most used protocols on the Internet
Provides Hypertext transfer service
Open a Web site through a browser using HTTP provides services, development apps will often use the HTTP protocol to get data from the network
The web site that is opened by the browser uses HTTP services
Developing apps, and often using the HTTP protocol to get data from the network

ios-Network Fundamentals

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.