Giter Site home page Giter Site logo

moeyc / nodejs-ipc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theanarkh/nodejs-ipc

0.0 0.0 0.0 38 KB

使用自定义的应用层协议,实现nodejs兄弟进程通信,windows下通过命名管道、非windows下通过unix域,使用例子见test目录

License: MIT License

JavaScript 100.00%

nodejs-ipc's Introduction

nodejs-ipc

使用自定义的应用层协议,实现nodejs进程间通信
本机进程间:
windows下通过命名管道、非windows下通过unix域
远程进程间:
tcp
支持在长连接中并行发送一个或多个请求和响应处理。通过end函数可以断开连接,nodejs默认会断开读写两端,如果一端调用end后,另一端还希望给另一端发送数据,则设置allowHalfOpen:true,使用例子见test目录。

nodejs-ipc's People

Contributors

theanarkh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.