Gets or sets a value that disables the use of Nagle's algorithm so that data is sent immediately.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property NoDelay As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As TcpSocketOption
Dim value As Boolean
instance.NoDelay = value
value = instance.NoDelay |
| C# | |
|---|
public bool NoDelay {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property bool get_NoDelay();
public: __property void set_NoDelay(
bool value
); |
| C++/CLI | |
|---|
public:
property bool NoDelay {
bool get();
void set ( bool value);
} |
Property Value
False if Nagle's algorithm is used; otherwise true. The default value is false.
Remarks
Requirements
Target Platforms: Microsoft .NET Framework 2.0
See Also