C4 Engine
C4 Engine API Documentation

Player::GetFileChunkSize

Defined in:  C4Messages.h
Returns the maximum size of each packet sent during a file transfer.
Prototype

uint32 GetFileChunkSize(voidconst;

Description
During a file transfer, several data packets, or "chunks", are sent to the receiving machine at one time. Each chunk is the same size (unless it's the last chunk to be sent). Calling GetFileChunkSize retrieves the current size of each chunk. This size can be changed by calling the Player::SetFileChunkParams function.
See Also

Player::GetFileChunkCount

Player::SetFileChunkParams

Player::RequestFile