6 comments:

  1. TCP stands for Transmission Control Protocol. It is the most commonly used protocol on the Internet.

    When you load a web page, your computer sends TCP packets to the web server’s address, asking it to send the web page to you. The web server responds by sending a stream of TCP packets, which your web browser stitches together to form the web page and display it to you. When you click a link, sign in, post a comment, or do anything else, your web browser sends TCP packets to the server and the server sends TCP packets back. TCP is not just one way communication — the remote system sends packets back to acknowledge it is received your packets.

    UDP stands for User Datagram Protocol — a datagram is the same thing as a packet of information. The UDP protocol works similarly to TCP, but it throws all the error-checking stuff out. All the back-and-forth communication and deliverability guarantees slow things down.

    When using UDP, packets are just sent to the recipient. The sender will not wait to make sure the recipient received the packet — it will just continue sending the next packets. If you are the recipient and you miss some UDP packets, too bad — you can not ask for those packets again. There is no guarantee you are getting all the packets and there is no way to ask for a packet again if you miss it, but losing all this overhead means the computers can communicate more quickly.

    ReplyDelete
  2. TCP-It stands for TRANSMISSION CONTROL PROTOCOL. It is a connection oriented protocol. It is suitable for applications that require high reliability and transmission time is relatively less critical. Its speed is slow as compared to UDP. Its header size is 20 bytes. The packets with errors are re-transmitted from the source to the destination and error recovery is attempted.

    UDP: It stands for USER DATAGRAM PROTOCOL. It is a connection less protocol. It is suitable for applications that need fast and efficient transmission. Its speed is faster as compared to TCP. Its header size is 8 bytes.The packets with errors are just discarded and error recovery is not attempted.

    ReplyDelete
  3. TCP (Transmission Control Protocol) is connection oriented, whereas UDP (User Datagram Protocol) is connection-less. This means that TCP tracks all data sent, requiring acknowledgment for each octet (generally). UDP does not use acknowledgments at all, and is usually used for protocols where a few lost datagrams do not matter.
    Because of acknowledgments, TCP is considered a reliable data transfer protocol. It ensures that no data is sent to the upper layer application that is out of order, duplicated, or has missing pieces. It can even manage transmissions to attempt to reduce congestion.

    ReplyDelete
  4. Difference between TCP and UDP:
    1. TCP is a connection-oriented protocol. Connection-orientation means that the communicating devices should establish a connection before transmitting data and should close the connection after transmitting the data. UDP is the Datagram oriented protocol. This is because there is no overhead for opening a connection, maintaining a connection, and terminating a connection. UDP is efficient for broadcast and multicast type of network transmission.
    2. TCP is reliable as it guarantees delivery of data to the destination router. The delivery of data to the destination cannot be guaranteed in UDP.
    3. TCP provides extensive error checking mechanisms. It is because it provides flow control and acknowledgment of data. UDP has only the basic error checking mechanism using checksums.
    4. TCP is comparatively slower than UDP. UDP is faster, simpler and more efficient than TCP.
    5. Retransmission of lost packets is possible in TCP. There is no retransmission of lost packets in User Datagram Protocol (UDP).
    6. TCP is used by HTTP, HTTPs, FTP, SMTP and Telnet. UDP is used by DNS, DHCP, TFTP, SNMP, RIP, and VoIP.

    ReplyDelete
  5. TCP stands for Transmission Control Protocol. It is the most commonly used protocol on the Internet.

    When you load a web page, your computer sends TCP packets to the web server’s address, asking it to send the web page to you. The web server responds by sending a stream of TCP packets, which your web browser stitches together to form the web page and display it to you. When you click a link, sign in, post a comment, or do anything else, your web browser sends TCP packets to the server and the server sends TCP packets back. TCP is not just one way communication — the remote system sends packets back to acknowledge it is received your packets.

    UDP stands for User Datagram Protocol — a datagram is the same thing as a packet of information. The UDP protocol works similarly to TCP, but it throws all the error-checking stuff out. All the back-and-forth communication and deliverability guarantees slow things down.

    When using UDP, packets are just sent to the recipient. The sender will not wait to make sure the recipient received the packet — it will just continue sending the next packets. If you are the recipient and you miss some UDP packets, too bad — you can not ask for those packets again. There is no guarantee you are getting all the packets and there is no way to ask for a packet again if you miss it, but losing all this overhead means the computers can communicate more quickly.

    ReplyDelete
  6. TCP ( TRANSMISSION CONTROL PROTOCAL)
    1).CONNECTION ORIENTED
    2).TCP TRACKS ALL DATA SENT
    3).TCP IS USED BY HHTP,HTTPS,FTP,SMTP,AND TELNET
    4).TCP HEADER SIZE 20 BYTES


    UDP( USER DATAGRAMS PROTOCOL)
    1).CONNECTION LESS
    2).UDP IS USED BY DNS,DHCP,TFTP,SNMP,RIP,AND VOIP.
    3).UDP HEADER SIZE IS 8 BYTES.


    ReplyDelete