# Networking

## About

Networking refers to the practice of connecting computers and other devices together to share resources, exchange data, and communicate. It encompasses a wide range of technologies, protocols, and concepts that enable the transfer of information between different devices, regardless of their location. Networking is a fundamental aspect of modern computing, supporting everything from simple home setups to complex enterprise systems and the internet itself.

## Commonly used Networking Terminologies

### General Networking Terms

1. **Network:** A group of interconnected devices that can share resources and data.
2. **Node:** Any device connected to a network, such as computers, printers, or routers.
3. **Topology:** The physical or logical arrangement of a network.
4. **Protocol:** A set of rules that define how data is transmitted and received over a network.
5. **Bandwidth:** The maximum rate of data transfer across a network path.
6. **Latency:** The time it takes for data to travel from the source to the destination.
7. **Packet:** A unit of data transmitted over a network.
8. **IP Address:** A unique identifier assigned to each device on a network.

### Network Types

1. **LAN (Local Area Network):** A network that covers a small geographic area, like an office or building.
2. **WAN (Wide Area Network):** A network that covers a large geographic area, such as a city, country, or the entire globe.
3. **MAN (Metropolitan Area Network):** A network that spans a city or a large campus.
4. **PAN (Personal Area Network):** A network for personal devices, typically within a range of a few meters.
5. **VPN (Virtual Private Network):** A secure network connection over the internet, used to protect privacy and security.

### Networking Hardware

1. **Router:** A device that forwards data packets between networks, directing the data along the most efficient paths.
2. **Switch:** A device that connects devices within a single network, forwarding data only to the device that needs it.
3. **Hub:** A device that connects multiple devices in a network, broadcasting data to all connected devices.
4. **Modem:** A device that converts digital data to analog signals and vice versa for transmission over phone lines or cable.
5. **Firewall:** A security device that monitors and controls incoming and outgoing network traffic based on predetermined security rules.
6. **Access Point:** A device that allows wireless devices to connect to a wired network.

### Networking Protocols

1. **TCP/IP (Transmission Control Protocol/Internet Protocol):** The foundational protocols for the internet and most networks.
2. **UDP (User Datagram Protocol):** A communication protocol used for time-sensitive transmissions like video streaming.
3. **HTTP/HTTPS (Hypertext Transfer Protocol/Secure):** Protocols used for transferring web pages on the internet.
4. **FTP (File Transfer Protocol):** A protocol used for transferring files between devices.
5. **SMTP (Simple Mail Transfer Protocol):** A protocol used for sending email.
6. **DNS (Domain Name System):** A system that translates domain names into IP addresses.
7. **DHCP (Dynamic Host Configuration Protocol):** A protocol that assigns IP addresses to devices on a network.

### Network Security

1. **Encryption:** The process of encoding data to prevent unauthorized access.
2. **Authentication:** The process of verifying the identity of a user or device.
3. **Authorization:** The process of granting access to resources based on authenticated identity.
4. **Intrusion Detection System (IDS):** A device or software that monitors a network for malicious activity or policy violations.
5. **Intrusion Prevention System (IPS):** A system that detects and prevents identified threats.
6. **VPN (Virtual Private Network):** Provides a secure connection over a public network.
7. **SSL/TLS (Secure Sockets Layer/Transport Layer Security):** Protocols for securing data transmission over a network.

### Network Services

1. **Web Services:** Services delivered over the web, such as websites and APIs.
2. **Email Services:** Services for sending and receiving email, such as SMTP, IMAP, and POP3.
3. **File Services:** Services for storing and sharing files, such as FTP and SMB.
4. **Directory Services:** Services that store, organize, and provide access to directory information, such as LDAP.
5. **Cloud Services:** Services delivered over the internet, including IaaS, PaaS, and SaaS.

### Wireless Networking

1. **Wi-Fi:** A technology for wireless local area networking.
2. **Bluetooth:** A technology for short-range wireless communication between devices.
3. **NFC (Near Field Communication):** A technology for short-range communication, often used for contactless payments.
4. **Cellular Networks:** Networks that provide mobile connectivity using technologies like 4G, 5G.

### Network Management

1. **SNMP (Simple Network Management Protocol):** A protocol used for managing devices on IP networks.
2. **Network Monitoring:** The process of continuously observing a network for performance, availability, and faults.
3. **QoS (Quality of Service):** Techniques used to manage network resources and ensure the performance of critical applications.
4. **Load Balancing:** The process of distributing network traffic across multiple servers to ensure no single server is overwhelmed.

### Network Performance

1. **Throughput:** The actual rate at which data is successfully transmitted over a network.
2. **Jitter:** The variability in packet delay across a network.
3. **MTTR (Mean Time to Repair):** The average time required to repair a failed component or device.
4. **MTBF (Mean Time Between Failures):** The predicted elapsed time between inherent failures of a system during operation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.pranaypourkar.co.in/the-programmers-guide/networking/networking.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
