Hi,
how to set connectionTimeout for the Ping method?
I set connectionTimeOut to 5.
But if ping fails it always takes over 45 seconds.
can i change it?
Thanks for help
Ping and connectionTimeOut
-
AndreyZ
Re: Ping and connectionTimeOut
Hello,
The Ping method takes into account the ConnectionTimeout property. Please specify the exact situation when the Ping method waits 45 seconds whilst ConnectionTimeout is set to 5 seconds.
The Ping method takes into account the ConnectionTimeout property. Please specify the exact situation when the Ping method waits 45 seconds whilst ConnectionTimeout is set to 5 seconds.
Re: Ping and connectionTimeOut
Hello,
I connect from the client to the Server over a network via VPN.
The ConnectionTimeout is set to 5
For a test I close the VPN and then try to Ping to the Server.
I connect from the client to the Server over a network via VPN.
The ConnectionTimeout is set to 5
For a test I close the VPN and then try to Ping to the Server.
-
AndreyZ
Re: Ping and connectionTimeOut
To work with SQL Server, UniDAC uses the OLEDB or SQL Native Client provider. The value you set in the ConnectionTimeout property, SDAC transfers to the used provider. There is no way for SDAC to influence the exact time the provider waits for respond from the server. We cannot influence the behaviour of the provider.