TCP/IP protocol

Source: Internet
Author: User
Tags imap ldap file transfer protocol
What is TCP/IP?

TCP/IP is a communication protocol for computers connected to the Internet.

TCP/IP refers to the Transmission Control Protocol/Internet Protocol (Transmission Control Protocol/Internet Protocol ).

TCP/IP defines how electronic devices (such as computers) connect to the Internet and how data is transmitted between them.

Inside TCP/IP

TCP/IP contains a series of protocols used to process data communication:

  • TCP (Transmission Control Protocol)-communication between applications
  • UDP (User packet protocol)-simple communication between applications
  • IP (Internet Protocol)-communication between computers
  • ICMP (Internet message control protocol)-for errors and statuses
  • DHCP (Dynamic Host Configuration Protocol)-for dynamic addressing

You will learn more about these standards in this tutorial.

TCP uses a fixed connection

TCP is used for communication between applications.

When an application wants to communicate with another application over TCP, it sends a Communication Request. This request must be sent to an exact address. After both parties "Shake hands", TCP will establish a full-duplex communication between the two applications.

This full-duplex communication will occupy the communication line between two computers until it is closed by either or both parties.

UDP is similar to TCP, but it is simpler, and the reliability is lower than TCP.

The IP address is connectionless.

IP addresses are used for communication between computers.

An IP address is a connectionless communication protocol. It does not occupy the communication line between two computers that are communicating. In this way, the IP address reduces the need for network lines. Each line can meet the communication needs of many different computers at the same time.

Messages (or other data) are divided into small independent packages and transmitted between computers over the Internet.

The IP address is responsible for routing each packet to its destination.

IP router

When an IP packet is sent from a computer, it will arrive at an IP router.

The IP router is responsible for routing the package to its destination, either directly or through other routers.

In the same communication, the path of a package may be different from that of other packages. The router is responsible for correctly addressing traffic, network errors, or other parameters.

TCP/IP

TCP/IP means that TCP/IP works together.

TCP is responsible for communication between application software (such as your browser) and network software.

IP addresses are responsible for communication between computers.

TCP is responsible for dividing and loading data into IP packets, and then re-combining them when they arrive.

The IP address is responsible for sending the package to the recipient.

TCP/IP structure corresponds to OSI
Layers in OSI Function TCP/IP protocol family
Application Layer File transmission, email, file service, virtual terminal TFTP, HTTP, SNMP, FTP, SMTP, DNS, telnet, etc.
Presentation Layer Translation, encryption, and Compression No agreement
Session Layer Control dialogs and create synchronization points (resume) No agreement
Transport Layer Port addressing, segment reorganization, traffic, Error Control TCP, UDP
Network Layer Logical addressing and Route Selection IP, ICMP, OSPF, OSPF, IGMP
Data Link Layer Frame formation, physical addressing, traffic, error, access control Slip, cslip, PPP, MTU
Physical Layer Set network topology, bit transmission, and Bit Synchronization Iso2110, IEEE802, and 802.2

 

CP/IP protocol (family)

Early computer networks were all defined by various vendors themselves. IBM, apple, and Microsoft all had their own network protocols that were incompatible with each other.

To connect all different types of computers in the world, a set of universal protocols must be defined. To achieve the Internet goal, the Internet protocol family (Internet Protocol Suite) is the general protocol standard.

Internet protocols include hundreds of protocol standards, but the two most important protocols are TCP and IP. Therefore, we refer to Internet protocols as TCP/IP protocol (family)

TCP-Transmission Control Protocol

TCP is used to control data transmission from applications to networks.

TCP is responsible for dividing data into IP packets before data transmission, and then reorganizing them when they arrive.

IP-Internet Protocol)

IP addresses are responsible for communication between computers.

The IP address is responsible for sending and receiving packets over the Internet.

HTTP-Hyper Text Transfer Protocol)

HTTP is responsible for communication between web servers and web browsers.

HTTP is used to send requests from the Web Client (browser) to the Web server and return content (webpage) from the Web server to the Web Client ).

Https-secure HTTP (HTTP secure)

HTTPS is responsible for secure communication between web servers and web browsers.

As a representative application, https is used to process credit card transactions and other sensitive data.

SSL-Secure Socket Layer (Secure Sockets Layer)

The SSL protocol is used to encrypt data for secure data transmission.

SMTP-Simple Mail Transfer Protocol)

SMTP is used for email transmission.

Mime-multi-purpose Internet Mail Extension (multi-purpose Internet Mail Extensions)

The mime protocol enables SMTP to transmit multimedia files, including audio, video, and binary data, over TCP/IP networks.

Imap-Internet Message Access Protocol)

IMAP is used to store and retrieve emails.

Pop-Post Office Protocol)

Pop is used to download emails from the email server to your PC.

FTP-File Transfer Protocol (file transfer protocol)

Ftp transfers files between computers.

NTP-Network Time Protocol)

NTP is used to synchronize time (minutes) between computers ).

DHCP-Dynamic Host Configuration Protocol)

DHCP is used to assign Dynamic IP addresses to computers in the network.

SNMP-Simple Network Management Protocol)

SNMP is used to manage computer networks.

LDAP-Lightweight Directory Access Protocol (Lightweight Directory Access Protocol)

LDAP is used to collect information about users and email addresses from the Internet.

ICMP-Internet message control protocol)

ICMP is responsible for handling errors in the network.

ARP-Address Resolution Protocol)

ARP: used to find the hardware address of the computer NIC based on IP addresses.

RARP-reverse address translation protocol (Reverse Address Resolution Protocol)

RARP is used to find the IP address of the computer NIC based on the hardware address through the IP address.

BOOTP-Boot Protocol)

BOOTP is used to start a computer from the network.

PPTP-Point-to-Point Tunneling Protocol)

PPTP is used for connection (Tunnel) between private networks ).

 

 

Three handshakes four waves please click below link https://www.cnblogs.com/Jack666/p/9240409.html

 

TCP/IP protocol

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.