TCP and UDP

Source: Internet
Author: User
Tags ssh port
TCP (Transmission Control Protocol, Transmission Control Protocol) is a connection-oriented protocol, reliable, guaranteed correctness, sequential arrival, flow control, congestion management, retransmission mechanism, window mechanism, more requirements for system resources and time, and flow mode sock_stream.

Server-side: Socket, bind, listen, accept, send, recv;
Client: Socket, connect, send, recv.
20-FTP Data port  21-ftp control Port  22-ssh Port  23-telnet  25-smtp 53-dns 80-http  110-pop3  443 -https

UDP (User data Protocol, Subscriber Datagram Protocol) is a non-connected protocol, unreliable, may drop packets, not necessarily in order, structure simple, datagram mode sock_dgram.

Server-side: Socket, bind,, Recvfrom, SendTo;
Client: Socket, SendTo, recvfrom.
53-dns  67-dhcp send Port  68-dhcp receive Port  69-tftp  161-SNMP  

TCP and UDP

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.