Please enable JavaScript.
Coggle requires JavaScript to display documents.
REDES - Coggle Diagram
REDES
-
-
-
TCP
-
UDP
While the TCP reliability functions provide more robust communication between applications, they also incur additional overhead and possible delays in transmission.
Adding overhead to ensure reliability for some applications could reduce the usefulness of the application and can even be detrimental.
UDP is known as a best-effort delivery protocol. In the context of networking, best-effort delivery is referred to as unreliable because there is no acknowledgment that the data is received at the destination.
UDP is similar to placing a regular, non-registered, letter in the mail.
-
-
TCP Features
To understand the differences between TCP and UDP, it is important to understand how each protocol implements specific reliability features and how they track conversations.
Establishing a Session
A connection-oriented protocol is one that negotiates and establishes a permanent connection (or session) between source and destination devices prior to forwarding any traffic.
Reliable Delivery
n networking terms, reliability means ensuring that each segment that the source sends arrives at the destination.
Same-Order Delivery
Because networks may provide multiple routes that can have different transmission rates, data can arrive in the wrong order.
Flow Control
Network hosts have limited resources, such as memory and processing power. When TCP is aware that these resources are overtaxed, it can request that the sending application reduce the rate of data flow.
TCP Header
TCP is a stateful protocol. A stateful protocol is a protocol that keeps track of the state of the communication session.
The stateful session begins with the session establishment and ends when closed with the session termination
-
-
Acknowledgment number (32 bits) - Indicates data has been received and the next byte expected from the source.
Control bits (6 bits) - Includes bit codes, or flags, which indicate the purpose and function of the TCP segment.
-
-
-
Socket Pairs
The segments are then encapsulated within an IP packet. The IP packet contains the IP address of the source and destination.
Sockets enable multiple processes, running on a client, to distinguish themselves from each other, and multiple connections to a server process to be distinguished from each other.
-
Port Number Groups
-
Registered Ports (Numbers 1024 to 49151) - These port numbers are assigned by IANA to a requesting entity to use with specific processes or applications.
These processes are primarily individual applications that a user has chosen to install, rather than common applications that would receive a well-known port number.
-
TCP Server Processes
An individual server cannot have two services assigned to the same port number within the same transport layer services.
An active server application assigned to a specific port is considered to be open, which means that the transport layer accepts and processes segments addressed to that port.
Any incoming client request addressed to the correct socket is accepted, and the data is passed to the server application.
-
-
-
-
-