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


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



Value Range:

platform-dependent, default= 0

See Also:



The VAR buffer is only required when you plan to use this socket in the HTTP mode- see sock.httpmode property, also sock.httpportlist.

Working with HTTP Variables explains how the build-in HTTP server works, and how the VAR buffer is used to receive HTTP variables.

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

Relationship between the two is as follows: sock.varbuffsize=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.varbuffrq. "-33" is because this number of bytes is needed for internal buffer variables.

This property is only available on 32-bit platforms.