ITcpipSocket::NoDelay

Description

The Nagle algorithm is disabled when this attribute is enabled (and vice versa). The Nagle algorithm improves network performance by buffering send data until a full-size packet can be sent.  This attribute is enabled by default in VISA to verify that synchronous writes get flushed immediately.

VB Prototype

Dim value As Boolean
value = object.NoDelay

object.NoDelay = value

C++ Prototype

HRESULT get_NoDelay(
  VARIANT_BOOL* NoDelay
);

HRESULT put_NoDelay(
  VARIANT_BOOL NoDelay
);

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, Address, HostName, KeepAlive, NoDelay, Port, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, SetBufferSize, Flush, ITcpipSocket Overview