file io - windows: if ReadFile fails, can I ReadFile again? -


i using windows readfile function read large file.

if network not stable, @ times error when calling readfile (network location no longer available). @ moment, if happens error out , terminate process.

what if, when readfile fails, wait few seconds , try again? assuming network issue went away, right data readfile? or @ point forget in file tries read?

if readfile failed because network share went away, have reopen file when comes back.


Comments

Popular posts from this blog

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

apache - Add omitted ? to URLs -

php - How can I stop spam on my custom forum/blog? -