1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
563 views
by (600 points)
Hello,

  Suppose I have two sources (one for ADT's from "x" and one from ADT's from "y") and they both need to go to the same destination (as the destination doesn't close connections, only has one port),  How can I achieve this across two channels?, i.e. have two channels send to the same destination?

1 Answer

+1 vote
Answer from Qvera support.

  Pipe them both into a new socket (the same socket)

  Then have a new channel that reads from the socket (allow multiple connections) and then sends message to your port that only allows one connection.
by (600 points)
...