A protocol is a set of formal rules to control or enable the connection, communication, and data transfer between devices. Protocols may be implemented by hardware, software, or a combination of the two. Different protocols exist for the different levels of communication. At the lowest level, a protocol defines the behavior of a hardware connection.

Probably the best known protocol is the Internet Protocol, IP.

See also