tftp_next(TFTP_LAST_SEGMENT) and even 512 byte file sizes

john bogus <bogusemail98230-/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
when using the tftp c routines I have found that when
the  file size is an even multiple of 512 bytes the
last call to tftp_next(TFTP_MORE_DATA) returns 0 as
expected, then the call to
tftp_next(TFTP_LAST_SEGMENT) takes a few seconds to
execute (rather than its normal quick response)


Is it safe to skip the tftp_next(TFTP_LAST_SEGMENT)
and just call tftp_close() instead?  or is there a
different way I should be completing the xfer.



__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.