[Mono-list] Connected streams?
jonpryor at vt.edu
Thu Oct 15 08:16:33 EDT 2009
On Oct 14, 2009, at 11:02 PM, Chris Howie <cdhowie at gmail.com> 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...
More information about the Mono-list