Indy 9
MakeAckPkt
Unit: IdTrivialFTPBase
Construct a TFTP acknowledgement packet.
function MakeAckPkt(const BlockNumber: Word): string;
Unit
IdTrivialFTPBase
Parameters
const BlockNumber: Word
Block number to be acknowledged.
Return Value
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.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.