2.2 Protocols


1. A Protocol a sequence of rules that governs the communications between devices on a network
2. A set of protocols that work together to ensure successful network communication is called
protocol suite.
3. Protocols define the following:
The syntax of the message: it concerns the format of data.
The syntax of the message: it concerns the meaning of the message, how to control it for
coordination and error handling.
The timing of the message: it concerns when the message should be send? And how
fast it can be sent?

4. Protocols can be divided into two types.
a) connection-oriented: a logical connection is first established between devices prior to
data being sent.
e.g.. FTP (in the next chapter).

2.2 Protocols


b) connectionless: data is just sent without a connection being created.
e.g. DNS (in the next chapter).

connection-oriented connectionless
  1. must establish connection between devices before data transfer
  2. bi-directional
  3. information can be resend if there is an error in the destination
  4. higher overhead
  1. no need
  2. uni-directional
  3. impossible
  4. less