Firstly, what is a packet?
When data is transmitted, it is split up into smaller chunks called packets. Each packet will contain 3 things, these are:
- The source address of the packet.
- The destination address.
- The data itself .
Packet switching is the method of how the internet works. It is a method of data transfer, in which data is broken down into packets and then reassembled at its destination. Each packet will move from router to router accross a network until it reaches its destination, always taking the optimum route.
The Steps a Packet Takes (in short):
- Data is split into chunks (packets).
- Each packet has a to and from address and data.
- The order of packets is noted.
- Packets sent onto the network move between routers, taking an optimum route.
- Once packets reach there destination they are re-ordered.
- The recipitent will send a confirmation message.
- If a confirmation message is not recieved the data will be sent again.