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.

Namespace:  Rebex.Net
Assembly:  Rebex.Networking (in Rebex.Networking.dll)

Syntax

Visual Basic
Public Property Timeout As Integer
	Get
	Set
C#
public int Timeout { get; set; }

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also