SoapTcpTransportOptions.NoDelay Property
Gets or sets a value indicating whether a delay occurs when send or receive buffers are not full.
Namespace: Microsoft.Web.Services3.Messaging
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim soapTcpTransportOptions1 As SoapTcpTransportOptions
Dim returnValue As Boolean
returnValue = soapTcpTransportOptions1.NoDelay
Dim sampleValue As Boolean
soapTcpTransportOptions1.NoDelay = sampleValue
Syntax
'Declaration
Public Property NoDelay() As Boolean
public bool NoDelay {get; set;}
public:
property bool NoDelay {
bool get();
void set(bool value);
}
public boolean get_NoDelay();
public void set_NoDelay(boolean);
public function get NoDelay() : Boolean;
public function set NoDelay(Boolean);
Property Value
true if a delay occurs, otherwise, false. The default is true.
Remarks
When NoDelay is false, TCP does not send a packet over the network until it has collected a significant amount of outgoing data. Because of the amount of overhead in a TCP segment, sending small amounts of data would be very inefficient. However, situations do exist where you might want to send very small amounts of data or expect immediate responses from each packet you send. Your decision should weigh the relative importance of network efficiency versus application requirements.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
SoapTcpTransportOptions Class
SoapTcpTransportOptions Members
Microsoft.Web.Services3.Messaging Namespace