Network.injectHostData()
Overview
Sends raw data to the Client as if it came from the host.
The byte sequence used in this API is a byte array encoded as a string. Each character in the string represents a byte value and should be between '\x00' and '\xff'.
Only available in TE sessions.
Added in version 2.1.34
Format
Network.injectHostData(data);
Parameter | Description | Type | Required |
---|---|---|---|
data | The byte values to send to the Client. | String | Required |
Example
Copy
/* Mimicks telnet TN3270E Device-type IS request
*/
Network.injectHostData("\xFF\xFA\x28\x02\x04\xFF\xF0");