Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

TlsClientSocket.Timeout Property

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll

Timeout

Gets or sets the length of time, in milliseconds, until the operation times out, or the value -1 or 0 to indicate that the operation does not time out. Inherited from TlsSocket.

Declaration
public int Timeout { get; set; }
Property Value
Type Description
Int32
Implements
ISocket.Timeout
Remarks

Default is -1 (infinite).

The internal timeout counter is reset every time data is sent or received over the connection.

Apart from -1 and 0 values, the minimal value is 1000. Setting this property to a value in the range 1..999 will set it to 1000.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies