Writes an array of bytes directly to the host communications layer, without going through the presentation space.

Depending on the type of terminal and type of host connection, this data may have to be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Function RawDataTransmitBytes( _ 
   ByRef inStream As Byte _ 
) As Integer
C#
public int RawDataTransmitBytes(
   ref byte inStream
)
C++
public:
 int RawDataTransmitBytes(
   char% inStream
) sealed 
J#
public int RawDataTransmitBytes(
   byte inStream
)
JScript
public  function RawDataTransmitBytes(
   inStream : Byte
) : int

Parameters

inStream
An array of bytes to send to host.

Return Value

The status of the operation.

Remarks

.NET applications should call RawDataTransmitBytes(sbyte[]).

Example

[VB]

 Copy Code
            Dim rdtb As Byte()
            
            'Send an array of bytes to host through screen object bypassing presentation space.
            ReDim rdtb(4)
            rdtb(0) = Asc("t")
            rdtb(1) = Asc("e")
            rdtb(2) = Asc("x")
            rdtb(3) = Asc("t")
            m_screen.RawDataTransmitBytes rdtb
            

See Also