SDSU Client-Server Programming
Spring Semester, 2005
Protocol
Previous     Lecture Notes Index     Next     
© 2005, All Rights Reserved, SDSU & Roger Whitney
San Diego State University -- This page last updated 17-Feb-05

Protocol

Well defined

Complete

Parsable

Available

Protocol Types

Protocol Design Issues

Copyright ©, All rights reserved. 2005 SDSU & Roger Whitney, 5500 Campanile Drive, San Diego, CA 92182-7700 USA. OpenContent ( http://www.opencontent.org/opl.shtml) license defines the copyright on this document.

Protocol

Communication between client and server

Good protocols are hard to design

Requirements for a "good protocol":

Well defined

Every bit of data sent in either direction has to have its place in the protocol description.

Protocol is a Language

Common formal description:

Format of the description language needs to be part of the protocol document.

Examples are important

Complete

The protocol must cover all possible situations.

Parsable

Both clients and servers are computer programs.

A computer program's IQ is generally 0.

Design goals:

Available

Different groups may write clients and servers at different times.

Central registry for Internet protocols

Self regulating:

Official:

Protocol Types

Two basic types

Typical synchronous

Examples

Typical asynchronous

Client and server both send information to each other concurrently.

Examples

A hybrid protocol is also possible

Protocol Design Issues

Protocol design is difficult!

Learn from examples

Some issues

Previous     visitors since 17-Feb-05     Next