Gets or sets the amount of time a Socket will wait to receive data once initiated.

Namespace: Jscape.Telnet
Assembly: Jscape.Telnet (in Jscape.Telnet.dll) Version: 2.6.1.0

Syntax

C#
public int ReadTimeout { get; set; }
Visual Basic
Public Property ReadTimeout As Integer
	Get
	Set
Visual C++
public:
property int ReadTimeout {
	int get ();
	void set (int value);
}

Field Value

The time-out value of the connection in milliseconds.

Remarks

The ReadTimeout property determines the amount of time a Socket will wait to receive data after a read is initiated. This time is measured in milliseconds. The underlying Socket will throw a SocketException if a read is initiated, and the ReadTimeout expires.

See Also