A definition of rules of communication between two or more nodes through a medium. The nodes can be computers, people, countries, or other things. The medium can be speech, snail mail, a network or other kind of wire, or anything else that can carry a signal or message.