C4 Engine
C4 Engine API Documentation

Player::GetFileChunkCount

Defined in:  C4Messages.h
Returns the number of packets sent at one time during a file transfer.
Prototype

int32 GetFileChunkCount(voidconst;

Description
During a file transfer, several data packets, or "chunks", are sent to the receiving machine at one time. Once the receiving machine has acknowledged all of the outstanding packets, the same number of packets is sent again, and the process repeats until the entire file has been transmitted. Calling GetFileChunkCount retrieves the current number of data packets that are sent at one time. This number can be raised or lowered by calling the Player::SetFileChunkParams function.
See Also

Player::GetFileChunkSize

Player::SetFileChunkParams

Player::RequestFile