protocol

An agreed set of rules for how two programs exchange messages, such as HTTP, TCP or WebSocket.

In more detail

A protocol fixes the message format, the order of steps and what happens on errors, so software written by different people can talk to each other. Protocols are layered: HTTP runs on top of TLS, which runs on top of TCP.

Related terms

Taught in

References