All Questions
3 questions
0
votes
1
answer
146
views
Unable to communicate between Node.js domain socket server and C domain socket client on Linux
Here is the Node.js code:
net = require('net');
fs = require('fs');
serverSocketFile = '/tmp/_mediaComm';
if (fs.existsSync(serverSocketFile))
fs.unlinkSync(...
0
votes
1
answer
2k
views
EPROTOTYPE error whilst attempting to connect node.js unix socket client to C program
I'm rewriting a PHP application in Node.js.
A C program runs on the Linux OS that also hosts PHP.
In short, the C program handles sending data from the PHP web interface to some proprietary hardware. ...
0
votes
0
answers
96
views
node.js domain socket disconnect automatically
My Node.js server is connected to a unix socket developed by C. In each HTTP request, parameter will send to the C program and receive response and send by to client.
But after the first request, the ...