This function creates an ACK packet for TFTP protocol.
function MakeAckPkt( const BlockNumber: Word ): string;
Parameters |
Description |
BlockNumber |
Type is Word. Indicates which block must be acknowledged. |
string - The ACK packet ready to be sent.
An ACK packet will be sent by the client to acknowledge DATA, ERROR or OACK packets. In the server, an ACK packet will be sent to acknowledge DATA packets received while uploading a file.
Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved. Website http://www.indyproject.org. Post feedback to the Indy Documentation newsgroup. |