Packet-Switched Networks: How Many Conversations Share a Link
A network link can carry part of one person's download, then a request from someone else, then more of the download. Neither exchange needs to own the link for its whole conversation. A packet-switched network makes this sharing possible by forwarding data in separate units called packets.
Each packet carries data along with information used to handle it. Network equipment forwards the units toward their destinations, allowing many exchanges to use the same connections.
The useful idea is sharing capacity as work arrives. A circuit-switched arrangement sets aside capacity for a particular connection. Packet networks let exchanges share links, though some also offer ways to reserve resources for selected traffic.
Why the Internet Doesn't Work Like a Phone Call
A Short Request Gets a Turn
Imagine a link carrying packets from a large transfer. A second exchange has a short request ready to send. The equipment can forward that request between packets of the transfer, then continue with the remaining work.
Which packet gets a turn depends on the equipment's rules and the traffic waiting at that moment. Some traffic may receive a higher priority; the example doesn't require an alternating, one-for-you, one-for-me schedule.
The arrangement suits bursts: when one exchange has nothing ready, another can use the link. An networking guide hosted by the International Telecommunication Union describes that shared-link principle.
Sharing also means competing. Packets can wait in queues when the outgoing link is busy. The memory holding them is finite, so packets may be dropped when it fills. Everyone still shares the same limit on how much data the link can carry.
Each Packet Needs a Next Step
The internet uses the Internet Protocol, or IP, to move packets across networks. IP packets are also called datagrams. They carry addresses, and a router uses its routing information to decide where to forward them next.
IP handles datagrams independently. That doesn't mean it deliberately sends every packet along a different path. Successive packets can follow the same route. A route can change when the network's routing information changes.
The specification for IP version 4, or IPv4, defines forwarding without promising delivery, correct arrival order or retransmission of missing data. An application that needs recovery must use an additional mechanism.
- Get five gigabit ports and a fast ARM processor for the price of a basic home router.
- Practice real routing at your desk on gear that network pros also deploy.
- Tuck it beside your modem: it takes up almost no room.
Putting an Exchange Back in Order
TCP, the Transmission Control Protocol, adds reliable, ordered data transfer on top of IP. It places its units inside IP packets and tracks their order, checks for errors and sends missing data again. The receiving application gets an ordered stream of bytes, the units used to store digital data. Those mechanisms are described in the TCP specification.
That explains how a download can recover from missing data without making recovery a property of every packet network. Other traffic uses different protocols and may handle loss differently.
Delays also matter. Waiting for missing data can hold up a transfer. For a live call, lost packets and varying arrival times—jitter—can disrupt sound or video.
Privacy requires a separate mechanism too. Dividing a message into packets doesn't hide their contents. Internet Protocol Security, or IPsec, can protect contents by encrypting traffic at the IP layer. A small piece of readable data is still readable data.
Circuit Switching: Why a Silent Phone Call Still Takes Up Space

Datagram Explained: How Data Travels Without a Delivery Promise

Multiplexing: How Several Conversations Share One Path

QUOTE:
"Amateurs hack systems, professionals hack people."
