354
Platforms
©2000-2008 Tibbo Technology Inc.
.Setsendinband Method
Function:
For the selected socket (selection is made through
) puts the data into the RPL buffer. This method
also commits the data.
Syntax:
sock.setsendinband(byref data as string)
Returns:
---
See Also:
---
Part
Description
data
The data to send (String).
Details
This method is different from the TX buffer for which two separate methods-
and
- are used to store and commit the data. For the RPL
buffer you store and commit the data with a single sock.setsendinband method.
It is the responsibility of your application to properly encapsulate outgoing
messages with escape sequence ("EC OC", see the
property) and
the end character (see the
property). When adding the data to the
RPL buffer make sure you are adding entire inband message at once- you are not
allowed to do this "in portions"!
Sinkdata Property
Function:
For the currently selected socket (selection is made
through
) specifies whether the incoming
data should be discarded.
Type:
Enum (yes_no, byte)
Value Range:
0- NO (default): normal data processing.
1- YES: discard incoming data.
See Also:
Details
Setting this property to 1- YES causes the socket to automatically discard all
incoming data without passing it to your application. The
event will not be generated, reading
will always return zero, and so
on. No data will be reaching its destination even in case of
.
, however, will still be extracted from the incoming data
stream and processed.
and
will work
correctly as well.
340
353
353
332
331
340
309
342
352
308
309
330
360