List out the differences between UDP and TCP 1. TCP is connection oriented protocol, where as UDP is connection less protocol.
2. In TCP, information is sent after establishing the connection from client to server, where as data is sent in chunks in UDP.
3. TCP is reliable – unless the connection fails completely, the message will be reached to the destination.
4. UDP is unreliable – there are chances to lose the data sent on the way.
5. TCP is an ordered protocol – when messages are sent one after other, the first message will be received first.
UDP is an unordered protocol – when two messages are sent, the order of their arrival at the destination is unknown.
|