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

It is possible to enforce timeouts for any socket read task. The timeout is a int value expressed in milliseconds. Note that the read timeout set will apply to the whole life of the socket and it should be far greater than the other timeouts specified in the ConnectionInfo. Furtermore this setting will also apply to connections used for subscriptions and other control requests. 

The default setting is -1 (infinite wait) 

 

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