Directory
Data UnitFeaturesImplementationRequirementsUDP Header FormatClient illustration for sending UDP requests
Data Unit
The data unit protocol transmitted by UDP is UDP packets or user datagram.
Features
UDP is connectionless, that is, no connection is required before sending data.
TCP and UDP are important in network transport and are equally important in Android development.
First let's take a look at what TCP and UDP are.
What is TCP?
Tcp:transmission Control Protocol Transmission Control Protocol TCP is a connection-oriented, reliable, byte-throttling transport layer (Transport Layer) communication protocol, by the IETF RFC 793 description (specified). In the simplified compute
Introduction to TCP/IP protocol
Communication protocol for TCP/IP
This section briefly introduces the internal structure of TCP/IP and lays the foundation for discussion of Internet-related security issues. The TCP/IP protocol group is popular in part because it can be used on a variety of channel and underlying protocols such as T1 and X.25, Ethernet, and RS-232 serial interfaces. Specifically, the TCP/IP protocol is a group of protocols that includes the TCP protocol and the IP Protocol, t
First to understand the next UDP
UDP is the abbreviation of Userdatagram protocol, the Chinese name is User Datagram Protocol, is a connectionless transport layer protocol in the Reference Model of OSI (open System interconnection, open Systems Interconnection). Provides a transaction-oriented, simple, unreliable information delivery service, and IETF RFC 768 is the formal specification of
Communication protocols for TCP/IP
This section briefly introduces the internal structure of TCP/IP and lays the groundwork for discussing security issues related to the Internet. TCP/IP protocol groups are popular in part because they can be used on a wide variety of channels and underlying protocols such as T1 and X., Ethernet, and RS-232 serial interfaces. Specifically, the TCP/IP protocol is a set of protocol groups that includes the TCP protocol and IP protocol, the
We know that UDP is an unreliable protocol. However, this protocol is used in many places. Then we will explain the content of the UDP Protocol application in detail. Let's take a look at some of its application scope and how it makes up for its defects.
UDP application scenarios and services
The services provided by UDP
UDP is also one of the basic Internet protocols. Like TCP, It is a protocol in the transport layer. Then we will introduce the specific situation of this agreement in detail from the following article. However, UDP is a non-connection-oriented protocol. TCP is a surface connection protocol ). The establishment of a UDP connection does not require the server to li
In the socket network program, TCP and UDP are both connection-oriented and non-connection-oriented. So TCP's socket programming, send and receive both sides (client and server side) must have one by one pairs of sockets, so the sender in order to send a number of packets to the receiver, more effective to the other side, using the optimization method (Nagle algorithm), will be a small number of intervals and small amount of data, Merge into a large b
Differences Between TCP byte stream and UDP datagram, tcpudp
"TCP is a stream-mode protocol and UDP is a datagram-mode protocol". I believe you are familiar with this sentence ~ However, what is the difference between "stream mode" and "data packet mode" in programming? The following is my understanding for your reference only!
1. TCP
For example, TCP. You have a reservoir in your house. You can pour water
TCP and UDP are important in network transmission, as well as in Android development.First look at what TCP and UDP are.What is TCP?Tcp:transmission Control Protocol Protocol TCP is a connection-oriented, reliable, byte-stream-based transport layer (Transport layer) communication protocol, which is provided by the IETF RFC 793 description (specified). In the simplified computer network OSI model, it accompl
UDP Protocol Introduction UDP transmission is very similar to IP transmission. You can regard UDP as an interface that exposes the IP protocol to the transport layer. UDP also transmits data packets in the form of "Best Effort", so UDP is also unreliable ). So why do we need
I. Overview TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are two different communication protocols at the transport layer in the network architecture TCP/IP model. TCP: Transmission Control Protocol, a connection-oriented protocol that provides a reliable full-duplex byte stream for user processes. The TCP set interface is a type of streamsocket interface. UDP: User Datagram Proto
The difference between TCP protocol and UDP Protocol (RPM)First we find out that the TCP protocol and the UCP protocol and the TCP/IP protocol, many people confused, has always been the TCP/IP protocol and the difference between the UDP protocol, I think it is not fundamentally clear network communication!The TCP/IP protocol is a protocol cluster. It includes a lot of protocols.
TCP the difference between protocol and UDP protocolfirst, let's get this straight.TCPagreements andUCPAgreement andTCP/IPagreement, a lot of people are confused, has always been saidTCP/IPAgreement andUDPthe difference between the protocols, I think it is not clear from the nature of network communication! TCP/IPthe protocol is a protocol cluster. It includes a lot of protocols. UDP is just one of them. Th
bits.A handshake can be initiated by one or both parties.Difference Between TCP and UDP:1. Connection-based and connectionless2. Requirements on system resources (more TCP and less UDP)3. stream mode and datagram Mode4. TCP ensures data correctness, UDP may cause packet loss, and TCP ensures data orderConnection without connection:Connection and connectionless c
Http://blog.chinaunix.net/uid-11848011-id-96439.html
First, the overview of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol is the network architecture TCP/IP model in the Transport layer layer of the two different communication protocols. TCP: Transmission Control Protocol, a connection-oriented protocol that provides a reliable full-duplex byte stream for user processes, and a TCP socket interface is a type of byte-throttle socke
Socket is a set of interfaces built on the TCP/IP protocol is not a protocolApplication layer: HTTP FTP SMTP WebTransport layer: Provides logical, not physical, communication between two applications (TCP UDP)TCP reliable connection-oriented servicesUDP unreliable, non-connected serviceAs long as the underlying implementation of the TCP IP protocol can be used to communicate with the socket1. TCP and UDP1.1 TCP ConnectionsThe TCP protocol can provide
Network communication In addition to the way the TCP, there is a way to implement the UDP way. UDP (user Datagram Protocol), the Chinese meaning is the Customer datagram protocol, similar to send short message, is a cheap way of communication, use this way without establishing a dedicated virtual connection, because no need to establish a dedicated connection, so the pressure on the server is much smaller t
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.