FUNCTION_BLOCK TCP_ReadBuffer EXTENDS CBM.LTrig
Like TCP_Read this function block serves to read data from the previously established connection given in hConnection. As long as xEnable is TRUE the handle of the connection is valid. The function block returns the handle of the buffer containing the data. If xReady is TRUE, data has been read successfully and the handle of the buffer is valid. The buffer is passed on and not copied like at TCP_Read.
InOut: |
|