dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlHttpOptions Class / KeepAlive Property

KeepAlive Property (MySqlHttpOptions)
Gets or sets the timeout in seconds to send Keep-Alive HTTP packets.
Syntax
'Declaration
 
Public Property KeepAlive As Integer
 

Property Value

The timeout in seconds to send Keep-Alive HTTP packets. The default value is 1 second.
Remarks
Proxy server can close connection if no data is transferred during some period, so special packets are sent to prevent this. To disable the functionality set this property to a very big value.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also