Skip to Main Content
Operating Systems: Concurrent and Distributed Software Design
book

Operating Systems: Concurrent and Distributed Software Design

by Jean Bacon, Tim Harris
March 2003
Intermediate to advanced content levelIntermediate to advanced
912 pages
27h 17m
English
Pearson Business
Content preview from Operating Systems: Concurrent and Distributed Software Design

3.8. Communications software

A communications protocol is a set of rules for controlling communication. It may define a particular, ordered sequence of messages to be used in a communication. The order is agreed by convention between the communicating entities to satisfy their requirements. A simple example, taken from a different context, is:

message:'Hi beta, this is alpha, are you receiving me? OVER'
reply:'Yes alpha, this is beta, I'm receiving you. OVER'

The above two messages implement a connection establishment protocol.

An example of an application protocol (see Figure 3.16) is a client's interaction with a file server, for example:

file-id =open (filename, write-mode)
data-bytes =read (file-id, byte-range)
 close (file-id)
Figure 3.16. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Principles of Concurrent and Distributed Programming, Second Edition

Principles of Concurrent and Distributed Programming, Second Edition

M. Ben-Ari
Operating Systems in Depth

Operating Systems in Depth

Thomas W. Doeppner

Publisher Resources

ISBN: 0321117891Purchase book