Jump to content
Compatible Support Forums
Sign in to follow this  
GWNorth

long delay to Openfile across network

Recommended Posts

I call OpenFile to access a file across a network, using an IP address. If the network connection is not established, there is an intolerable delay in the response to the Openfile call (45 seconds on my machines). This seems to be the case for the execution of any code which results in a call to CreateFile (OpenFile, FileExist, etc.)

During this delay, the machine's resources seem to be frozen.

 

How can the connection be checked prior to the call?

How can the operation be aborted if the delay is too long?

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×