.tx2buffsize R/O Property (32-Bit Platforms Only)
Function: |
For the currently selected socket (selection is made through sock.num), returns the current TX2 buffer capacity in bytes. |
Type: |
Dword |
Value Range: |
Platform-dependent, default = 0 |
See Also: |
--- |
Details
The TX2 buffer is only needed when inband commands are used (sock.inbandcommands = 1 — YES).
Buffer capacity can be changed through the sock.tx2buffrq method, which requests the buffer size in 256-byte pages, whereas this property returns the buffer size in bytes.
The relationship between the two is as follows: sock.tx2buffsize = num_pages * 256 - 33 (or = 0 when num_pages = 0), where "num_pages" is the number of buffer pages that was GRANTED through sock.tx2buffrq. The "- 33" is because this number of bytes is needed for internal buffer variables.
This property is only available on 32-bit platforms.