KeepAlive Property
When True, KEEPALIVE packets are enabled (for long connections).
Object Oriented Interface
public function getKeepAlive(); public function setKeepAlive($value);
Procedural Interface
ipworks_ipdaemon_get($res, 18 ); ipworks_ipdaemon_set($res, 18, $value );
Default Value
false
Remarks
This property enables the SO_KEEPALIVE option on the incoming connections. 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.
This property is shared among incoming connections. When the property is set, the corresponding value is set for incoming connections as they are accepted. Existing connections are not modified.
Data Type
Boolean