version 1.1, 2001/06/19 07:32:58 |
version 1.2, 2001/06/20 03:08:05 |
|
|
%%$OpenXM$ |
%%$OpenXM: OpenXM/doc/ascm2001p/ox-messages.tex,v 1.1 2001/06/19 07:32:58 noro Exp $ |
|
|
\section{OX messages} |
\section{OX messages} |
|
|
An OX message for TCP/IP is a byte stream consisting of |
An OX message for TCP/IP is a byte stream consisting of |
a header and a body. |
a header and a body: |
\begin{center} |
|
\begin{tabular}{|c|c|} |
\begin{tabular}{|c|c|} |
\hline |
\hline |
Header & \hspace{10mm} Body \hspace{10mm} \\ |
Header & \hspace{10mm} Body \hspace{10mm} \\ |
\hline |
\hline |
\end{tabular} |
\end{tabular}. |
\end{center} |
|
The header consists of two signed 32 bit integers. |
The header consists of two signed 32 bit integers. |
The first one is an OX tag |
The first one is an OX tag |
and the second one is a serial number of the OX message. |
and the second one is a serial number of the OX message. |
|
|
%Negative numbers are expressed by the two's complement. |
%Negative numbers are expressed by the two's complement. |
%Several byte orders including the network byte order |
%Several byte orders including the network byte order |
%are allowed and the byte order is determined as a part of |
%are allowed and the byte order is determined as a part of |
%the establishment of a connection. See Section \ref{secsession} for details. |
%the establishment of a connection. See Section \ref{secsession} for details. |
|
|
The OX messages are classified into three types: |
The OX messages are classified into three types: |
DATA, COMMAND, and SPECIAL. |
DATA, COMMAND, and SPECIAL. |
%We have currently the following general tags for the OX messages: |
%We have currently the following general tags for the OX messages: |