Difference between TCP and UDP ?
TCP-Transmission Control Protocol.
Protocol responsible for control over Transmission of data over the network.
It breaks the data into packets.
It supports error correction.
UDP-User Datagram Protocol
It also breaks the data into packets like the TCP.
But it does not support error correction.
TCP-Trasmission control protocol which is connection oriented transport.once the connection is established the tcp cuts the data packet into segments and gives reliable transmission between source and destination.
UDP-User datagram protocol which is connection less transport it just sends the data packet gives speed in delivering the packet to destination.