Breaking News

TCP & UDP in Transport layer

TCP - Transmission Control Protocol(reliable)

1. If suppose the data is corrupt or lost, TCP allows to resend it.
2. It ensures the delivery of bytes in the order they were sent

UDP - User Datagram Protocol(unreliable)

1. It doesn't guarantee that packets are delivered in correct order. It is not necessary that packet 3 is sent before packet 4 so packet 3 should deliver first.

No comments