363
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
.Txbuffsize R/O Property
Function:
For the currently selected socket (selection is made
through
) returns current TX buffer capacity
in bytes.
Type:
Word
Value Range:
0-65535, default= 0 (0 bytes).
See Also:
---
Details
Buffer capacity can be changed through the
method followed by
method.
The sock.txbuffrq requests buffer size in 256-byte pages whereas this property
returns buffer size in bytes. Relationship between the two is as follows: sock.
txbuffsize=num_pages*256-16 (or =0 when num_pages=0), where "num_pages"
is the number of buffer pages that was GRANTED through the sock.txbuffrq. "-16"
is because 16 bytes are needed for internal buffer variables. The socket cannot TX
data when the TX buffer has zero capacity.
.Txclear Method
Function:
For the selected socket (selection is made through
) clears (deletes all data from) the TX buffer.
Syntax:
sock.rxclear
Returns:
---
See Also:
---
Details
Invoking this method will have no effect when the socket is not closed (
<> 0- PL_SSTS_CLOSED).
.Txfree R/O Property
Function:
For the selected socket (selection is made through
) returns the amount of free space in the TX buffer
in bytes.
Type:
Word
Value Range:
0-65535, default= 0 (0 bytes).
See Also:
---
340
362
217
340
358
340