Sock.Cmdlen R/O Property

Top  Previous  Next

 

Function:

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.

Type:

Word | dword

Value Range:

platform-dependent, default= 0

See Also:

sock.rpllen, sock.inbandcommands

 


Details

The CMD buffer accumulates incoming inband commands (messages) and may contain more than one such command. Use 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.