使用自定义的应用层协议,实现nodejs进程间通信
本机进程间:
windows下通过命名管道、非windows下通过unix域
远程进程间:
tcp
支持在长连接中并行发送一个或多个请求和响应处理。通过end函数可以断开连接,nodejs默认会断开读写两端,如果一端调用end后,另一端还希望给另一端发送数据,则设置allowHalfOpen:true,使用例子见test目录。
使用自定义的应用层协议,实现nodejs兄弟进程通信,windows下通过命名管道、非windows下通过unix域,使用例子见test目录
License
theanarkh/nodejs-ipc
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
使用自定义的应用层协议,实现nodejs兄弟进程通信,windows下通过命名管道、非windows下通过unix域,使用例子见test目录
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published