+ Reply to Thread
Results 1 to 2 of 2

Thread: TCP , UDP , which reliable

  1. #1

    TCP , UDP , which reliable

    i want to know the difference between TCP and UDP and why TCP is more reliable , i am studying the CCNA at the moment .

  2. #2
    Junior Member
    Join Date
    Jan 2012
    TCP :

    Transmission Control Protocol it also represent as TCP/IP where TCP is the main protocol. IP(internet protocol) deal with packets, TCP enables two host to establish a connection and exchange streams of data.

    UDP :

    User Datagram Protocol(UDP) is one of the core protocols of the internet protocol suite , Using UDP, Programs on networked computers can send short massages known as datagrams to one another.

    Why TCP is more reliable ?

    for many reasons :
    1- Check-sum—All TCP segment carry a checksum, which is used by the receiver to detect errors with either the TCP header or data.
    2- Duplicate and detection—It is possible for packets to be duplicated in packet switched network; therefore TCP keeps track of bytes received in order to discard duplicate copies of data that has already been received.
    3- Re transmissions—In order to guarantee delivery of data, TCP must implement retransmission schemes for data that may be lost or damaged. The use of positive 4- acknowledgments by the receiver to the sender confirms successful reception of data. The lack of positive acknowledgments, coupled with a timeout period calls for retransmission.
    5- Sequencing –In packet switched networks, it is possible for packets to be delivered out of order. It is TCP’s job to properly sequence segments it receives so it can deliver the byte stream data to an application in order.
    6- Timers—TCP maintain various static and dynamic timers on data sent. The sending TCP waits for the receiver to reply with an acknowledgment within a bounded length of time. If the timer expires before receiving an acknowledgment, the sender can retransmit the segment.

+ Reply to Thread

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts