The input buffer allocated by the startup function is used for storing characters that have been sent by ESL. The purpose of the input buffer is to allow ESL to send a string to the local application and not have to wait until the local application has read and processed all of the characters before executing additional action statements.
The default size of the input buffer is 4092 bytes. A larger input buffer will be allocated if you define the following global variable at the top of your local application's main module:
unsigned InputBufferSize = SIZE;
where SIZE is an unsigned integer value greater than 4092. (If you specify a value less than 4092, the actual buffer size will be 4092.) If your local application is designed to process lines of characters, be sure the input buffer is large enough to contain the largest line that will be sent, including the terminating newline. Characters will be lost if the input buffer does not contain enough empty space for a string that is sent by ESL. Data loss of this kind is indicated by one or more of the following messages appearing in the ESL errorlog:
error sending data to LOCAL_APP_NAME: data was
rejected by local application