Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

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

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

Viewing all articles
Browse latest Browse all 1729

Trending Articles