Compatible Support Forums: long delay to Openfile across network

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

long delay to Openfile across network

#1 User is offline   GWNorth 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 16-January 02

Posted 23 January 2002 - 03:54 AM

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?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users