Network Protocols Flashcards
Name 5 transmission protocols
- TCP
- IP
- WiFi
- Ethernet
- UDP
TCP
TCP splits data from applications into small pieces called ‘packets’
What does each packet have?
A header
A payload
Header
Data about how packet should reach its destination
Payload
Actual data that needs to be sent
IP
IP defines how data packets should be sent between networks
What is added regarding each IP to each packet?
An IP header is added to each packet with the source and destination IP address
What do routers use source and IPa for?
Routers use info to deliver the packet to the correct network
WiFi
Set of protocols defining how data should be transmitted using radio waves
Where is WiFi used?
In wireless networks
Ethernet
Protocol that defines how data should be physically transmitted between network hardware
Where is ethernet used?
In wired networks
UDP
Alternative to TCP
Skips stages which ensure that a packet has arrived
Checks that the packet is correct
UDP vs TCP
UDP is faster than TCP
UDP is less reliable than TCP
When is UDP useful?
When reliability of data is less important than achieving fast transfer
Such as in online gaming