PowerTCP Telnet for .NET CF
ReceiveTimeout Property
See Also  Send comments on this topic.
Dart.Common Namespace > SocketOption Class : ReceiveTimeout Property




Gets or sets a value that specifies the amount of time after which the underlying Socket Receive call will time out.

Syntax

Visual Basic (Declaration) 
Public Property ReceiveTimeout As Integer
Visual Basic (Usage)Copy Code
Dim instance As SocketOption
Dim value As Integer
 
instance.ReceiveTimeout = value
 
value = instance.ReceiveTimeout
C# 
public int ReceiveTimeout {get; set;}
Managed Extensions for C++ 
public: __property int get_ReceiveTimeout();
public: __property void set_ReceiveTimeout( 
   int value
);
C++/CLI 
public:
property int ReceiveTimeout {
   int get();
   void set (    int value);
}

Property Value

The time-out value in milliseconds. The default value is 0, which indicates an infinite time-out period.

Remarks

A value of 0 or -1 indicates an infinite time-out period.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.