WEEK 2 FORUM TCP AND UDP - The differences and similarities of TCP and UDP are as follows.TCP stands for Transmission Control Protocol Its the most

WEEK 2 FORUM TCP AND UDP - The differences and similarities...

This preview shows page 1 - 2 out of 5 pages.

The differences and similarities of TCP and UDP are as follows.TCP stands for Transmission Control Protocol. It’s the most frequently used protocol on the Internet. When a web page is loaded, the computer sends TCP packets to the web server’s address, asking it to send the web page back. The web server replies by sending a stream of TCP packets, which the web browser sews together to form the web page and displays it to the user. When clicking a link, sign in, post a comment, or do anything else, the web browser sends TCP packets to the server and the server sends TCP packets back. TCP is not just only one-way communication. The remote system sends packets back to acknowledge it’s received the packets. TCP guarantees the receiver will receive all the packets in order by numbering them. The recipient sends messages back to the sender saying it received the information. It will resend the packets to ensure the recipient received them if the sender does not get a correct response. Packets are also checked for mistakes. TCP is reliable because packets sent are tracked so no data is lost or corrupted in transit. This is the reason the file downloads don’t become corrupted even if there are network hitches. If the recipient is completely offline, the computer will give up and you’ll see an error message saying it can’t communicate with the remote host at all.TCP delivers in transmission time that is a lot less critical. It is used by other protocols such as SMTP, HTTP, HTTPs, FTP, and Telnet. It reorganizes data packets in the order specified and the speed is slower than UDP and the header size is 20 bytes. The streaming of data is read as a byte stream with no distinguishing indications are transmitted to signal message boundaries. TCP is heavy weight because it needs three packets to arrange a socket connection before any user data is sent and handles reliability and congestion control. UDP stands for User Datagram Protocol it is a datagram is the same thing as a packet of info. The UDP protocol works similarly to TCP, but it pitches all the error-checking stuff out. All the back-and-forth communication and guaranteeing of delivery slows things down. In using UDP the packets are just sent to the recipient. The sender will not wait to make sure the recipient received the packet. It will just continue on sending the next packets. If you are the receiver and you miss some UDP packets you are out of luck. You cannot ask for those particular packets again. There is no guarantee you will get all the packets and there is no way to ask for a packet again if you miss it, but by doing this it means the computers can communicate more rapidly. UDP is used when speed is desirable and error correction is not essential. In UDP, it is often used for live broadcasts and online games. If there is a loss of connection even for a few seconds, the video will freeze for a moment and then jump to the existing bit of the broadcast, hopping the bits missed. If there is an experience of minor packet-loss, the video or
Image of page 1
Image of page 2

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture