TCP/UDP Flashcards

1
Q

TCP

A

Transmission control protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does TCP do?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

UDP

A

user datagram (packet of information) protocol

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does UDP do?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

difference between TCP and UDP

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly