On Oct 14, 2009, at 11:02 PM, Chris Howie <[email protected]> wrote:
> I need to create a pair of streams, so that what I write into
> stream A goes into B's read buffer, and vice-versa.  Think pipe(),
> only bidirectional, or socketpair() without the sockets.
...
> The closest I've come is several of the classes in System.IO.Pipes,
> and even those don't look perfect.  For example, I can't have a
> bidirectional anonymous pipe, and a named pipe could clash with others
> on the same system.

Create a named pipe with Guid.NewGuid() as part of the name?  The odds  
of a clash are very low...

  - Jon

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to