Vadim Lebedev wrote:

> You're right but  only in  the case that when you have separtae briding
> threads for each direction.
> I was thinkin about situation when there is ONE briging theard for two
> directions. The you can you the same pipe
> for both direction.

No, you cannot. How are you going to distinguish packets that belong to
the A->B direction from the ones that belong to the B->A direction if
both of them are being written to the 'write' end of the same pipe?

Instead of just proposing this idea without fully understanding how it
would work (here on the developer mailing list), it would be much better
if you wrote a small program demonstrating the technique and proving
that it is possible. Otherwise this is all just speculation and people
disagreeing about what may or may not work.

Certainly it is not at all possible to create a single pipe and using it
for both directions of multiple bridges... I don't know how you came to
the conclusion that could work at all.
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to