defaultIdleTimeout (property)

The default idle timeout for inactive clients.

Syntax

@property (nonatomic,readwrite,assign,getter=defaultIdleTimeout,setter=setDefaultIdleTimeout:) int defaultIdleTimeout;
- (int)defaultIdleTimeout;
- (void)setDefaultIdleTimeout:(int)newDefaultIdleTimeout;
public var defaultIdleTimeout: Int32 {
  get {...}
set {...} }

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.

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