Skip to content

TMsgHeader

Message header record.

Declaration

Source position: simpleipc.pp line 44

type
  TMsgHeader = packed record
    Version: Byte;
    MsgType: TMessageType = LongInt;
    MsgLen: Integer;
  end;

Description

TMsgHeader is used internally by the IPC client and server components to transmit data. The Version field denotes the protocol version. The MsgType field denotes the type of data (mtString for string messages), and MsgLen is the length of the message which will follow.

See also

Name Description
TSimpleIPCServer Simple IPC server component.
TSimpleIPCClient Simple IPC client component.