PIP 5.6.1
Platform-Independent Primitives
Public Member Functions | Public Attributes | List of all members
PIBaseTransfer::PacketHeader Struct Reference

Common header placed before every protocol packet. More...

#include <pibasetransfer.h>

Public Member Functions

bool check_sig ()
 Returns whether the packet signature matches packetSignature().
 

Public Attributes

uint sig
 Packet signature used to recognize transfer packets.
 
int type
 Packet type from the transfer protocol.
 
int session_id
 Session identifier for current transfer exchange.
 
uint id
 Sequential packet identifier inside the session.
 
uint crc
 CRC calculated for the packet payload.
 

Detailed Description

Common header placed before every protocol packet.