Lightstreamer .Net Standard Client 4.0.0
ContentsIndexHome
PreviousUpNext
ConnectionInfo.ConnectTimeoutMillis Property

It is possible to enforce timeout for the socket connection task. The timeout is a int value expressed in milliseconds. Note that this setting will apply to connections used for openConnection, subscriptions and other control requests. 

The default setting is -1 (infinite wait) 

 

C++
public: __property int ConnectTimeoutMillis;
C#
public int ConnectTimeoutMillis;
Visual Basic
Public Property ConnectTimeoutMillis() As Integer