a simple native implementations of System.IO.Pipes.NamedPipeClientStream
.
- unity IL2CPP
- Windows x64
- Linux 64
- Mac
- Unity Editor
NamedPipeServerStream
// on client
{
var stream = new MessagePipeClientStream(".", "stream-s2c", PipeDirection.In);
stream.Connect();
stream.Read(...);
}
// on server
{
NamedPipeServerStream stream = new NamedPipeServerStream("stream-s2c", PipeDirection.Out);
stream.WaitForConnection();
stream.Read(...);
}