Lightstreamer PCL (Portable Class Library) Client 3.1.0
ConnectionInfo.StreamingTimeoutMillis Property

The maximum elapsed time in milliseconds allowed for the first successful streaming connection attempt on a streaming session. The timeout check is performed only when the Stream-sense feature is enabled, i.e. EnableStreamSense is true; if it fails, the current attempt will be discarded and a new session opening will be tried in smart polling mode. 

NOTE: In case the connection is not possible at all, the polling attempt may also hang. However, no timeout check on the polling attempt is performed; this can be done by the user, by observing the elapsed time in the LSClient.OpenConnection call. That custom timeout should be significantly greater than StreamingTimeoutMillis; if it fires too early and a connection close is forced, then the Stream-sense mechanism might operate in vain. 

The default setting is 5000 (5 seconds). 


public: __property long StreamingTimeoutMillis;
public long StreamingTimeoutMillis;
Visual Basic
Public Property StreamingTimeoutMillis() As long