.cmdlen R/O Property


For the selected socket (selection is made through sock.num), returns the length of data (in bytes) waiting to be processed in the CMD buffer.


Word | dword

Value Range:

Platform-dependent, default = 0

See Also:

sock.rpllen, sock.inbandcommands


The CMD buffer accumulates incoming inband commands (messages) and may contain more than one such command. Use the sock.getinband method to extract the data from the CMD buffer.

Older devices had smaller RAM sizes, so the value returned by this property was of the word type. On newer devices with larger RAM capacities, this property has the dword type. Inspect the property's declaration on the platform you are using to make sure you know its type.

.cmdlen R/O Property