(wonna) wrote in message news:<. com>...
> Hope someone can answer these:
>
>
> 2. I have a question on the implementation of protocol message
> parsing for a protocol like, say, Q.931:
> How are Q.931 messages from the network parsed? Some sort of
> state machine, obviously, but how does one specify the
> mandatory IEs, the message format etc as part of the parser?
>
> Are there any books/online resources that deal with such
> protocol design and implementation issues?
The Encoding Control Notation (ECN) associated with ASN.1 allows to
formally specify legacy encodings. When an ECN specification is given
to an ECN compiler, the tools output encoding/decoding functions that
are capable of parsing messages.
More information about ECN at:
http://asn1.elibel.tm.fr/ecn/
OSS Nokalva (
http://www.oss.com) might give you more information about
an ECN specification for Q.931.
Olivier Dubuisson