function MakeAckPkt(const BlockNumber: Word): string;
Parameters
const BlockNumber: Word
Block number to be acknowledged.
Returns
String - Packet created for the protocol.
Description
MakeAckPkt is a String function used to construct and populate an acknowledgement packet used by the TrivialFTP protocol. The acknowledgement packet contains the TFTP_ACK OpCode and the value from BlockNumber.