will these scpclient settings help out with timeout issues on connection attempt?

Mar 1, 2013 at 2:08 PM
Edited Mar 1, 2013 at 2:08 PM
              client.ConnectionInfo.Timeout = TimeSpan.FromSeconds(120);
                client.OperationTimeout = TimeSpan.FromSeconds(60);   
trying to make my program work reliably, so that, if it fails on the first connection attempt, it attempts again with more relaxed timeout settings, will the above work?
thanks
Coordinator
Mar 2, 2013 at 2:44 PM
Yes,
Increasing this timeout should allow server more time to respond and for client to receive reply.

Thanks,
Oleg