Networking Protocols

Communication requires protocols (rules) so that those involved in the communication understand how to interact. In the world of technology this could be communication between two or more computers which means for example they may need to understand:

  • Transmission speed
  • Type of data to be shared
  • How to share the data

Protocols for use over the Internet are generally published as RFCs (Request for Comments) by standards setting bodies such as the Internet Engineering Task Force (IETF).

TCP and UDP

Transmission Control Protocol (TCP) and User Datagram Protocol are communication protocols used to share data across a network such as the Internet.

TCP is connection oriented, it involves sender and receiver going through a handshake process and has error checking/error correction.

UDP is connectionless, it does not involve a handshake and does not have error correction (i.e. no guarantee of delivery. However, it is faster than TCP.

Example Protocols

There are many different types of protocols used over TCP and UDP. These include, but are not limited to:

ProtocolDescriptionPort
HTTPHyper Text Transfer Protocol

Used for communication between web servers and clients
80
HTTPSHyper Text Transfer Protocol Secure

Same as above but uses secure encryption
443
FTPFile Transfer Protocol

Used to transfer files
21
SFTPSecure File Transfer Protocol or SSH File Transfer Protocol

Same as above but uses secure encryption
22
SSHSecure Shell

Allows for remote connection / remote command execution
22
NTPNetwork Time Protocol

An NTP server provides time services to a client.
123
SMTPSimple Mail Transfer Protocol

Used to send and receive emails
25
POP3Post Office Protocol version 3

Used by a client to download emails from a server
110
IMAPInternet Message Access Protocol

Unlike POP3 it can be used by multiple clients and generally leaves the emails on the server
143

One response to “Networking Protocols”

  1. TCP/IP Model – GeekTechStuff Avatar

    […] network protocols previously looked at can be added into the TCP/IP model to show the layer they operate […]

    Like

Welcome to GeekTechStuff

my home away from home and where I will be sharing my adventures in the world of technology and all things geek.

The technology subjects have varied over the years from Python code to handle ciphers and Pig Latin, to IoT sensors in Azure and Python handling Bluetooth, to Ansible and Terraform and material around DevOps.

Let’s connect