TwclClientDataConnection.HalSetWriteBufferSize(Cardinal) Method

Sets the write buffer size.

Namespace: wclConnections
protected
 function HalSetWriteBufferSize(
 const Size: Cardinal): Integer; virtual; abstract;

Parameters

Size
Type: Cardinal

The new write buffer size in bytes.

Return Value

Type: Integer

If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.

A derived class must override this method to implement the buffer size setting code.