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

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -

jQuery clickable div with working mailto link inside -