Internet Direct (Indy) Version 9.0.2 Beta
TIdHeader
Represents encapsulated tunnel headers and data.

TIdHeader = record
  CRC16: Word;
  MsgType: Word;
  MsgLen: Word;
  UserId: Word;
  Port: Word;
  IpAddr: TIdInAddr;
  end;
Description
TIdHeader is a record type that represents encapsulated tunnel headers and data for Indy Tunnel components.

CRC16 is a Word member that contains the calculated CRC16 checksum value for the contents of the encapsulated tunnel message.

MsgType is a Word member that contains a message type constant value representing a handling instruction to the Tunnel component.

MsgLen is a Word member that contains the length of the encapsulated tunnel message.

UserId is a Word member that represents the user identifier for the client connection to the Tunnel server.

Port is a Word member that presents the for the client connection to the Tunnel component.

IpAddr is a TIdInAddr member that represent the structured IP address for the client connection to the Tunnel component.