Share via


<noDelay> Element

Specifies a value indicating whether a delay occurs when send or receive buffers are not full.

<microsoft.web.services2> Element
  <messaging> Element
    <transports> Element
      <add> Element for <transports>

<transports>
  <add>
    <noDelay/>
  </add>
</transports>

Attributes and Elements

Attributes

Attribute Description

enabled

Required attribute. true to disable the use of the Nagle algorithm and use EXCLUSIVEADDRUSE to prevent port hijacking; otherwise false. The default is true.

Child Elements

None.

Parent Elements

Element Description

<add> Element for <transports>

Adds a SOAP transport to the system.

Example

The following code example adds the soap.tcp transport to the system and disables the use of the Nagle algorithm and uses EXCLUSIVEADDRUSE to prevent port hijacking.

<configuration>
  <microsoft.web.services2>
    <messaging>
      <transports>
        <add scheme="soap.tcp" >
          <noDelay enabled="true" />
        </add>
      </transports>
    </messaging>
  </microsoft.web.services2>
</configuration>

See Also

Reference

<transports> Element