All Classes |Grouped Classes |Index

Function set_keep_alive

Enables or disables transmitting keep-alive packets.

	void CL_TCPConnection::set_keep_alive(
		bool enable,
		int timeout = 0,
		int interval = 0);

Detailed description:

Both timeout and interval must be set to a non-zero value before any of them are used. They cannot be specified individually.