2.1 TCP vs UDP Flashcards
1
Q
TCP/IP Protocol
A
2 computers talk to each other [COMMUNITCATE]
2
Q
TCP & UDP
A
underlying protocols that make the other protocols work
3
Q
TCP = Transmission Control Protocol
A
- Reliable
- Connection-orientated
- Virtual circuit
- Sequenced
- Acknowledgements
- 24-60 bytes [high overhead]
- Sequencing of information
- Acknowledgement of the data sent
- TCP Handshake: SYN –> SYNACK –> ACK
- Guarantees data gets to the other side
a. Error checks data
b. Fixes errors on information
4
Q
UDP = User Datagram Protocol
A
- Unreliable
- Connectionless
- NO virtual circuit
- Un-sequenced [NO ORDER]
- NO acknowledgement
- 8 bytes [LIGHTWEIGHT]
- Giving some data & NOT caring if you receive it or not
- Un-sequenced = corrupt data / doesn’t fix it