ITcpipSocket2::Flush
Description
Manually flushes the read and write buffers associated with TCPIP SOCKET interfaces.
VB Prototype
Flush(
mask As BufferMask, ' Optional Parameter
discard As Boolean ' Optional Parameter
)
C++ Prototype
HRESULT Flush(
BufferMask mask,
VARIANT_BOOL discard
);
Parameters
mask
[Optional in Visual Basic] Which serial buffer to resize, the in buffer, the out buffer, or both.
discard
[Optional in Visual Basic] Specifies whether to due a discard of the data or perform I/O to the device.
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