KeepAlive Property

Set or return if keep-alive packets are sent on a connected socket.

Syntax

object.KeepAlive [= { True | False }]

Remarks

Setting the KeepAlive property to a value of true indicates that packets are to be sent to the remote system when no data is being exchanged to keep the connection active. This property can only be set for sockets that were created with the Protocol property set to a value of swProtocolTcp.

The default interval at which these packets are sent is typically two hours and cannot be modified using the control. Consult the Windows system administration documentation for information on how to change the default keep-alive interval.

Data Type

Boolean

See Also

Broadcast Property, InLine Property, NoDelay Property, Protocol Property, ReuseAddress Property, Route Property


Copyright © 2008 Catalyst Development Corporation. All rights reserved.