Network Protocols
Computer Science: OCR GCSE, topic 1.3.31
Network Protocols
For devices to communicate, they first need to mutually decide on a set of rules. The rules decide how the communication will take place.

Network protocols
- A network protocol can be thought of as several rules that define how data is transmitted between connected devices.
- Protocols exist for any data exchange between two devices.

What is in a protocol?
- Common decisions made in a protocol are:
- How communication should start and end (handshaking).
- How data should be structured.
- Which network port communication should be over.
- How to check if the received data is correct.
- What to do if something goes wrong.
Test yourself on Network Protocols
What is agreed during handshaking?
These are decisions commonly made when designing a protocol.
Do we always need a protocol when two devices exchange data?
A connection between two devices is interrupted while they are sending a file. Which part of a protocol decides what should happen next?
Two devices agree to start sending data only after one confirms it is ready to receive. Which protocol decision does this describe?