Communicating between NodeJS and C using node-ipc and unix sockets
问题 I want to communicate between NodeJS and a C program using node-ipc, over a Unix socket, which according to that homepage is the fastest option. (They will be on the same machine). That package claims it could communicate with a C program. (I had to sanity check). The problem is the examples don't give example C code, and I have next to no idea how I'd get them to talk. Can anyone point me to an example of C code to match those client/server examples? For example, how would I adapt this