Sonjli 6 Posted June 23, 2020 Hello, I am trying to read from a tcp socket some data and elaborate it in a pipeline. The pipeline should do something like this: Stage 1: polling the tcp socket and write the list of bytes in Output Stage 2: read output and make some calculation with bytes (I need to know when a packet starts and ends) The problem is that in the second stage I receive a list of simple "numbers" (a list of bytes) not continously. I mean that the bytes arrive in groups, but I need to save them in a global array to make my decisions. Questions: 1. Is the pipeline the right choice? 2. How can I use a global array inside a Pipeline? (I can't use SetParameter as in ITaskController) Thanks in advance Eddy Share this post Link to post
Sonjli 6 Posted June 23, 2020 1 minute ago, Sherlock said: Do you mean named pipes? No, it's "Pipeline" of OmniThreadLibrary Share this post Link to post
Sherlock 663 Posted June 25, 2020 Sorry, didn't catch the subform. Can't help then. 1 Share this post Link to post