pipe-io-server/pipe_io_server/clients/csharp/Example.cs

15 lines
269 B
C#
Raw Normal View History

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();
}
}
}