ITcpipSocket2::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

Address, Close, ComponentVersion, Flush,GetAttribute, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, HostName, Init, KeepAlive, LockRsrc, LastStatus, , LockState, NoDelay, OptionString, Port, , ProgID, ResourceName, ServerCertificate, ServerCertificateExpirationDate, ServerCertificateIsPerpetual, ServerCertificateIssuerName, ServerCertificateSubjectName, SessionType, SetAttribute, SetBufferSize, SoftwareManufacturerID, SoftwareManufacturerName, SpecVersion, Timeout, TlsCipherSuite , UnlockRsrc, ITcpipSocket2 Overview