Remote Protocol
|
Message Header
|
All messages start with an equally formed header:
|
T_MESSAGEHDR
|
|
|
Name |
Type |
Containing |
usMsgLen
|
unsigned int16
|
brutto length of the message (including this header)
|
bMsgType
|
E_PQ_MESSAGE_TYPE
|
identifies the message type.
|
bMagic |
T_MESSAGE_MAGIC |
five byte magic string "PQSPT" |
|
|
|
|
|
This static form allows early checks on corrupted or incomplete messages
or disturbances. Generally, all multibyte data have to be transmitted least
significant byte first. So e.g. a server request message (i.e. message
type code 'D' = 0x44 ) of 385 byte total length will
result in a message header with the byte sequence 0x81, 0x01, 0x44, 0x50,
0x51, 0x53, 0x50 and 0x54 on the stream.
To inspect the streamed data comming in or sent out as well, you may invoke
the SymPhoTime 64 Server dialog.
All messages are logged here inclusive the time when they were sent or received.
[SymPhoTime 64 Server]
[Support]