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

Custom packet header used by the file-transfer protocol. More...

#include <pifiletransfer.h>

Public Member Functions

bool check_sig ()
 Check if signature is valid.
 

Public Attributes

int step
 Current transfer step from StepType.
 
int session_id
 File-transfer session identifier.
 
char sig [3]
 Three-byte protocol signature "PFT".
 
uchar version
 Protocol version stored in the packet.
 
uint raw_sig
 Raw 32-bit representation of signature and version.
 

Detailed Description

Custom packet header used by the file-transfer protocol.