IP*Works! RTC - Online Help
Available for:
IP*Works! RTC
Questions / Feedback?

Linger Property

When set to True, connections are terminated gracefully.

Syntax

[VB.NET]
Public Property Linger As Boolean

[C#]
public bool Linger {get; set;}

Remarks

This property controls how a connection is closed. The default is True.

In the case that Linger is True (default), the component will attempt to send pending data and await all packets to be acknowledged until the specified Timeout is reached. If Timeout is reached and there are still unackwoledged packets, then the connection will be reset and Status will fire with an informational entry/

Setting this property to False forces an immediate disconnection. If you know that the other side has received all the data you sent, setting this property to False might be the appropriate course of action.

Default Value

True

 
 
Copyright (c) 2016 /n software inc. - All rights reserved.
Build 1.0.6093.0