KeepAlive Property
When True, KEEPALIVE packets are enabled (for long connections).
Object Oriented Interface
public function getKeepAlive(); public function setKeepAlive($value);
Procedural Interface
ipworks_telnet_get($res, 15 ); ipworks_telnet_set($res, 15, $value );
Default Value
false
Remarks
The KeepAlive enables the SO_KEEPALIVE option on the socket. This option prevents long connections from timing out in case of inactivity.
Please note that system TCP/IP stack implementations are not required to support SO_KEEPALIVE.
Data Type
Boolean