SUBJECT This is description of a mid level message protocol used in LanChat (http://sourceforge.net/projects/vnlanchat) and in some other of my progs. This protocol relies on my datagram protocol as transport (see low_level_protocol.txt). This protocol (it also got no name yet) supports transferring messages using datagrams. MESSAGE FORMAT A datagram's body is a plain text string. The string can contain either one or several messages, in any case message is ending with a semicolon ';'. A message body is a list of pairs 'ID'='Value' delimited by whitespaces. Here, 'ID' is any valid ID: consists of latin letters, digits, and underscores, starts with a letter or underscore, must be no longer than 30 symbols. ID names ARE NOT case sensitive. 'Value' may be a decimal, hexadecimal or octal C-like constant, or a C-like string, embraced by doublequotes '"'. SYNTAX The syntax definition presented in a widely used notation is given below. ::= | ::= ';' ::= | ::= '=' ::= | ::= | Sla/n agus beannacht leat! Vaclav.