2019-04-10 16:14:40 +00:00
|
|
|
using System;
|
|
|
|
using Pipe.IO;
|
|
|
|
|
|
|
|
class Program
|
|
|
|
{
|
|
|
|
static void Main(string[] args)
|
|
|
|
{
|
|
|
|
using (var t = new PipeIO("in", "out"))
|
|
|
|
{
|
2019-04-11 16:30:25 +00:00
|
|
|
t.Reader.OnMessage += (String msg) => t.Writer.SendMessage(msg);
|
|
|
|
t.Reader.Run();
|
2019-04-10 16:14:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|