.Tx2buffsize R/O Property (32-bit Platforms Only)

Top  Previous  Next

Function:

For the currently selected socket (selection is made through sock.num) returns 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. Sock.tx2buffrq requests buffer size in 256-byte pages, whereas this property returns buffer size in bytes.

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 the sock.tx2buffrq. "-33" is because this number of bytes is needed for internal buffer variables.

This property is only available on 32-bit platforms.