Skip to content

theanarkh/nodejs-ipc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nodejs-ipc

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published