1.7 Network Protocols and Services
Computer Networks
A network protocol is a set of rules for communication. It defines how data is formatted and transmitted. Protocols control error handling and data delivery. All devices in a network must follow the same protocol. Protocols ensure smooth data exchange. Examples include TCP/IP and HTTP.
Transmission Control Protocol and Internet Protocol (TCP/IP)
TCP/IP stands for Transmission Control Protocol and Internet Protocol. It is the main protocol used on the Internet. TCP ensures reliable data delivery. IP handles the addressing and routing of data. Together, TCP/IP enables communication between devices. It is used in almost all networks.
Hypertext Transfer Protocol (HTTP)
HTTP stands for Hypertext Transfer Protocol. It is used to transfer web pages. HTTP works between a web browser and a web server. It allows users to view websites. HTTP does not encrypt data; secure websites use HTTPS instead. HTTPS is the secure version of HTTP. It uses encryption to protect data transmitted between a web browser and a web server. This encryption is provided using SSL/TLS protocols, which ensure that sensitive information such as passwords, personal details, and payment data cannot be easily intercepted by attackers.