Jump to content

Build Theme!
  •  
  • Infected?

WE'RE SURE THAT YOU'LL LOVE US!

Hey there! :wub: Looks like you're enjoying the discussion, but you're not signed up for an account. When you create an account, we remember exactly what you've read, so you always come right back where you left off. You also get notifications, here and via email, whenever new posts are made. You can like posts to share the love. :D Join 93101 other members! Anybody can ask, anybody can answer. Consistently helpful members may be invited to become staff. Here's how it works. Virus cleanup? Start here -> Malware Removal Forum.

Try What the Tech -- It's free!


Photo

User What is the difference between TCP and UDP protocols?

smartphone protocols tcp udp

  • Please log in to reply
No replies to this topic

#1 mteksourcing

mteksourcing

    New Member

  • New Member
  • Pip
  • 3 posts

Posted 07 June 2023 - 03:50 AM

TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are both transport layer protocols used in computer networks, however their characteristics and functionality differ:
 
Connection-Oriented vs. Connectionless: Which is better?
TCP (Transmission Control Protocol): TCP is a connection-oriented protocol. Before delivering data, it establishes a reliable and ordered connection between the transmitter and receiver. It ensures that all packets are received in the correct order and handles packet retransmission in the event that any data is lost or corrupted.
UDP is a protocol that does not require a connection. It does not make a connection before sending data. Each packet is handled as a separate unit and is mailed separately, with no guarantees of delivery or order. There is no system for automatically retransmitting missing or damaged packets.
 
TCP: TCP provides dependable data transmission. It ensures that all data is received correctly and in the same order as it was sent. To ensure reliable transmission, it employs acknowledgment mechanisms, sequence numbers, and retransmission algorithms.
UDP: UDP does not provide dependable data transmission. It does not employ any acknowledgment or retransmission techniques. If a packet is lost or corrupted during transmission, it is not automatically resent, and the receiver is not notified.
TCP Error Checking and Correction: TCP offers facilities for error checking and correction. It employs checksums to detect problems in the data, and if errors are identified, it requests that the corrupted packets be retransmitted.
 
 

 


    Advertisements

Register to Remove

Related Topics



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users