What is a Computer Network?
A computer network is a collection of devices connected together to share resources and communicate. When your laptop connects to Wi-Fi, it joins a network. When that network connects to the internet, it joins a bigger network. Networks can be as small as two phones connected by Bluetooth or as large as the entire internet.
The purpose of a network is simple: sharing. Sharing data, sharing hardware (like printers), sharing internet connections, and sharing processing power. Without networks, every computer would be an island โ you'd have to physically carry files on a USB drive to share them.
What Makes a Network?
Every network has three essential components:
- Devices (Nodes) โ Computers, phones, servers, printers, routers โ anything that sends or receives data.
- Links โ The physical or wireless connections between devices. Cables, radio waves, fiber optics โ the highways data travels on.
- Rules (Protocols) โ Agreed-upon standards that define how data is formatted, sent, and received. Without protocols, devices would speak different languages and couldn't communicate.
Protocols are the most important concept in networking. They're the social etiquette of the digital world โ without them, communication would be chaos.
Client-Server vs. Peer-to-Peer
Networks typically follow one of two models:
- Client-Server โ One powerful computer (the server) provides services to other computers (clients). When you visit a website, your browser (client) requests a page from a web server. The server does the heavy lifting; clients just ask for things. Most of the internet works this way.
- Peer-to-Peer (P2P) โ Every device is both a client and a server. No central authority. Each peer can request and provide services to other peers. File-sharing networks like BitTorrent use this model. It's more equal but harder to manage.
The client-server model dominates because it's easier to control, secure, and maintain. But P2P has its place โ it's resilient (no single point of failure) and efficient for distributing large files.
Network Services
Networks provide several fundamental services:
- Data Communication โ The basic ability to send and receive data between devices.
- Resource Sharing โ Sharing files, printers, and internet connections across multiple devices.
- Remote Access โ Accessing a computer or network from a distant location (like working from home).
- Backup and Recovery โ Storing copies of data on network servers for safekeeping.
- Internet Access โ Connecting to the global internet through a shared network connection.
Every online activity you can think of โ social media, streaming, gaming, shopping, banking โ is built on top of these basic network services.