TCP/UDP Flashcards
(5 cards)
TCP
Transmission control protocol
what does TCP do?
TCP packets send packets back to acknowledge its received the packets. TCP is all about reliability. packets sent are checked for errors and are tracked so no data is lost or corrupt
UDP
user datagram (packet of information) protocol
what does UDP do?
UDP works similar to TCP with no error checking. when packets are sent the sender will not wait for confirmation of delivery and will continue to send more. there will be no guarantee all the packets were received. UDP is used when speed is desirable and error connection is not necessary eg, live broadcasts and online games
difference between TCP and UDP
TCP is reliable UDP is not. TCP is a connection orientated protocol and UDP is a connectionless protocol. TCP is ordered and UDP is not. UDP is fast and TCP is slower than UDP.