xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

图解各种流行的网络协议 All In One

图解各种流行的网络协议 All In One

Network protocols are standard methods of transferring data between two computers in a network.

  1. HTTP (HyperText Transfer Protocol)
    HTTP is a protocol for fetching resources such as HTML documents.
    It is the foundation of any data exchange on the Web and it is a client-server protocol.

HTTP/1.0
HTTP/1.1

  1. HTTP/2
    HTTP/3 is the next major revision of the HTTP.
    It runs on QUIC, a new transport protocol designed for mobile-heavy internet usage.
    It relies on UDP instead of TCP, which enables faster web page responsiveness.
    VR applications demand more bandwidth to render intricate details of a virtual scene and will likely benefit from migrating to HTTP/3 powered by QUIC.

  2. HTTP/3
    HTTP/3 is the next major revision of the HTTP.
    It runs on QUIC, a new transport protocol designed for mobile-heavy internet usage.
    It relies on UDP instead of TCP, which enables faster web page responsiveness.
    VR applications demand more bandwidth to render intricate details of a virtual scene and will likely benefit from migrating to HTTP/3 powered by QUIC.

  3. HTTPS (HyperText Transfer Protocol Secure)
    HTTPS extends HTTP and uses encryption for secure communications.
    SSL, old version
    TLS, new version

others

  • WebSocket
    WebSocket is a protocol that provides full-duplex communications over TCP. Clients establish WebSockets to receive real-time updates from the back-end services. Unlike REST, which always “pulls” data, WebSocket enables data to be “pushed”. Applications, like online gaming, stock trading, and messaging apps leverage WebSocket for real-time communication.

  • TCP (Transmission Control Protocol)
    TCP is is designed to send packets across the internet and ensure the successful delivery of data and messages over networks. Many application-layer protocols build on top of TCP.

  • UDP (User Datagram Protocol)
    UDP sends packets directly to a target computer, without establishing a connection first. UDP is commonly used in time-sensitive communications where occasionally dropping packets is better than waiting. Voice and video traffic are often sent using this protocol.

  • SMTP (Simple Mail Transfer Protocol)
    SMTP is a standard protocol to transfer electronic mail from one user to another.

  • FTP (File Transfer Protocol)
    FTP is used to transfer computer files between client and server.
    It has separate connections for the control channel and data channel.

image

demos

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs

https://twitter.com/alexxubyte/status/1708863540067696878



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2023-10-03 14:24  xgqfrms  阅读(36)  评论(1编辑  收藏  举报