Follow-up from " identifying TCP input streams"
The following discussion from !62 (merged) should be addressed:
-
@pzejdl started a discussion: (+4 comments)
Calling
accept
will accept anything. In case we have only one stream it is not a problem.However, it opens a question on how to deal with multiple streams?
We may have multiple streams, perhaps from different "FEDs" that need different processors, or not?
In case we go with multi-processing (having separate scdaq instance per stream) then probably run control should say on what ports the scdaq should listen, so each scdaq is configured correctly with the appropriate processor.
In case we use multi-threading, then we will need to receive the list of connections and or FED IDs from the run control in order to be able to send them to the correct processors.
Something to be discussed.