DefaultIdleTimeout Property

The default idle timeout for inactive clients.

Object Oriented Interface

public function getDefaultIdleTimeout();
public function setDefaultIdleTimeout($value);

Procedural Interface

ipworks_ipdaemon_get($res, 19 );
ipworks_ipdaemon_set($res, 19, $value );

Default Value

0

Remarks

This property specifies the idle timeout (in seconds) for clients. When set to a positive value the class will disconnect idle clients after the specified timeout.

This only applies to clients that have not sent or received data within DefaultIdleTimeout seconds.

If set to 0 (default) no idle timeout is applied.

Note: DoEvents must be called in order for the class to check existing connections.

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 PHP Edition - Version 20.0 [Build 8307]