Design Con 2015
Welcome Guest Log In | Register

Implementing Protocol State Machines

Authored on: Jun 12, 2006 by Jim Darroch

Technical Paper / Conference Paper

0 1
More InfoLess Info
This paper presents some pointers on how to approach a network protocol definition, with a view to implementing it in software.

Protocols tend to be specified in a State Machine (SM) fashion—to at least some degree. The control aspects (i.e. setting up, managing and closing connections—rather than data transfer) lend themselves well to an SM definition and implementation. A protocol has 'state'; it receives input (events) and responds with output (actions, or subsequent events), perhaps changing state as a result of the event.

This paper begins with introducing the practical interpretation of a protocol layer—what it's made up of and how it is described. Some general concepts surrounding SM models are then introduced. These lead on to case studies of protocol SMs and their design and implementation. Finally, some miscellaneous do's and don'ts are presented—in the hope that these will be of help to the reader should they be faced with the challenge of implementing a network protocol layer.

View
 
1 comment
write a comment

No Avatar

argyam Posted Oct 3, 2011

Excellent paper. Thanks a lot!

reply

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page

×

Please Login

You will be redirected to the login page