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


For the currently selected socket (selection is made through sock.num), returns the current CMD buffer capacity in bytes.



Value Range:

Platform-dependent, default = 0

See Also:



The CMD buffer accumulates incoming inband commands (messages).

Buffer capacity can be changed through the sock.cmdbuffrq method, which requests buffer size in 256-byte pages, whereas this property returns the buffer size in bytes.

The relationship between the two is as follows: sock.cmdbuffsize = num_pages * 256 - 33 (or = 0 when num_pages = 0), where "num_pages" is the number of buffer pages that was GRANTED through sock.cmdbuffrq. The "- 33" is because this number of bytes is needed for internal buffer variables.

The CMD buffer is only required when inband commands are enabled (sock.inbandcommands = 1 — YES).

A warning note icon.This property is only available on 32-bit platforms.

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