On Apr 22, 2009, at 1:14 AM, Kiran Kumar S wrote:

Really going mad, it is taking long time response when i am trying to get vended Object from the remote machine which doesn't exist in the network. . I am facing same long time delay(more than 60 sec) when i am trying to get vended object from the remote machine which gone to sleep.
          Below is the code

[...]

On which line is the code blocking? You can find out by sampling the process from Activity Monitor or breaking into the process with the debugger.

The delay you're seeing is probably the TCP connection timeout. On most systems, it will take about 9 minutes for TCP to give up all attempts to connect and timeout. I would hope that NSConnection would implement its own timeout mechanism as an alternative to allowing TCP to exhaust itself.

As near as I can tell from reviewing the documentation, the reply timeout should govern the -rootProxy method. Since you're setting that, then I'm not sure why it's not working.

This might be a bug, which you should file at <http://bugreport.apple.com >.

Regards,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to