pipe-io-server/pipe_io_server/clients/csharp/Example.cs
2019-08-05 17:38:29 +02:00

15 lines
269 B
C#

using System;
using Pipe.IO;
class Program
{
static void Main(string[] args)
{
using (var t = new PipeIO("in", "out"))
{
t.Reader.OnMessage += (String msg) => t.Writer.SendMessage(msg);
t.Reader.Run();
}
}
}