项目作者: grahammcallister

项目描述 :
A simple C# named pipe server implementation that can be used to share data with Node.js instances
高级语言: C#
项目地址: git://github.com/grahammcallister/Pipe.Net.git
创建时间: 2018-01-11T13:24:10Z
项目社区:https://github.com/grahammcallister/Pipe.Net

开源协议:MIT License

下载


Pipe.Net

A simple C# named pipe server implementation that can be used to share data with Node.js instances

Available as a NuGet package download on Nuget Gallery here: https://www.nuget.org/packages/Pipe.Net/

Build status

Build status

Example usage

Server
The project is firstly designed for the Server side of the pipe to be on the .Net side.
See the demo project Pipe.Net.Demo for server example.

Run the Pipe.Demo project. “Open” the server, and then the client. Use the “send to client” and “send to server” functions to send messages though the pipe.

Demo screen capture

Node client
See the Node.Demo folder for the node client demo.

Note: The demo code requires that the .Net server should already be running.

Run the Pipe.Demo .Net project in Studio. “Open” the server.

Run the index.js script with node.

Send a message through the pipe using the “send to clients” feature in the .Net server.

Node demo screen capture