TFTP_RESULT TFTPIsFileClosed();
If file mode is Read, it simply makes that last block is acknowledged. If file mode is Write, it waits for server ack. If no ack was received within specified timeout instructs appliaction to resend last block. It keeps track of retries and declares timeout all attempts were exhausted.
TFTPCloseFile() is already called.
TFTP_OK if file was successfully closdd
TFTP_RETRY if file mode was Write and remote server did not receive last packet. Application must retry with last block.
TFTP_TIMEOUT if all attempts were exhausted in closing file.
TFTP_ERROR if remote server sent an error in response to last block. Actual error code may be read by calling TFTPGetError()
TFTP_NOT_READY if file is not closed yet.
None
None