OutBufferSize Property

       

Sets and returns the size, in bytes, of the transmit buffer.

Syntax

object.OutBufferSize [ = object ]

The OutBufferSize property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An integer expression specifying the size of the transmit buffer.

Remarks

OutBufferSize refers to the total size of the transmit buffer. The default size is 512 bytes. Do not confuse this property with the OutBufferCount which reflects the number of bytes currently waiting in the transmit buffer.

Note   The larger you make the transmit buffer, the less memory you have available to your application. However, if your buffer is too small, you run the risk of overflowing unless you use handshaking. As a general rule, start with a buffer size of 512 bytes. If an overflow error occurs, increase the buffer size to handle your application's transmission rate.

Data Type

Integer