.setsendinband Method
Function: |
For the selected socket (selection is made through sock.num) 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 — sock.setdata and sock.send — 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 sock.escchar property) and the end character (see the sock.endchar 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"!