All Questions
Tagged with unix-socket javascript
14 questions
-2
votes
0
answers
68
views
Does this Deno REPL in the browser resemble FIFO, Unix Domain Sockets, something else?
A file system experiment I've thought about for a while. Somehow creating a FIFO or Unix Domain Socket that is a bi-directional connection with streaming capabilities between arbitrary Web pages and ...
1
vote
0
answers
397
views
Connecting to unix socket inside docker container using nodejs
I have written an app which connect to an already created unix.sock file and get some data from it. But I am getting EACCES error while try to connect. Error message is given below.
{ Error: connect ...
0
votes
1
answer
428
views
Can javascript socket io listen unix sock?
Expected behavior
Server : unix://IP_ADDRESS/path/to/setup.sock
Client : javascript (cannot using node.js only can use socket.io or web socket)
Communicate server <-> client
Actual behavior
Web ...
0
votes
1
answer
223
views
Unable to get individual data callbacks with net.createConnection();
I am a newbie to Node.js concepts. I am studying the use of Unix sockets as a means of communication between C and Node.js.
In C:
I am sending 1000 iterations of a 100 byte long message.
In Node....
11
votes
2
answers
12k
views
Node.js: Send GET request via unix socket
I am new to the node.js. I am trying to setup the client server connection using unix socket, where my client request would be in node.js and server running in the background would be in go.
Client ...
1
vote
1
answer
809
views
Connecting to Named Unix Domain Socket Node
I am trying to connect to a named Unix Domain Socket via nodejs. I have seen that the docs seem to support connecting to Unix Sockets, however I haven't seen any examples of connecting to a socket by ...
1
vote
1
answer
356
views
Processing external triggers in Node.js applications
I have a Node.js daemon application that runs on my Debian home server 24/7.
I would like it to process triggers generated by motion, a program that monitors the video signal from cameras that is ...
0
votes
1
answer
83
views
Ruby UNIXServer with Node.js client and chunked data
I've this Ruby server that uses a Unix Socket:
require 'socket'
require 'json'
server = UNIXServer.new('/tmp/ciccio.sock')
loop do
sock = server.accept
loop do
begin
data = sock.recv(...
0
votes
0
answers
406
views
Cannot connect to .sock file
'Error: connect ENOENT unix:/run/php-fpm/php-fpm.sock\n at Object.exports._errnoException (util.js:860:11)\n at exports._exceptionWithHostPort (util.js:883:20)\n at PipeConnectWrap....
6
votes
1
answer
10k
views
unix sockets on nodeJs
Quick and basic nodeJs question,
I'm working with unix socket for inter-server communication between c++ application and my NodeJs server,
I've wrote my nodeJs server like so:
var net = require('net'...
2
votes
0
answers
374
views
UNIX Domain Sockets - long String problems
I tried to send a quite long string (abt 40000 characters) via a UNIX Domain Socket in node.js. But it does not send it right. at the receiver I get some parts of the string multiple times...
Any Idea ...
1
vote
0
answers
202
views
PHP-python IPC stops suddenly
I've implemented a simple python server that creates a Unix-domain socket and listens for data on it. At first I tested this with a text field that would run the PHP script when pressing "Send". After ...
14
votes
3
answers
19k
views
Connecting to an already established UNIX socket with node.js?
I am working on a node.js application that will connect to a UNIX socket (on a Linux machine) and facilitate communication between a web page and that socket. So far, I have been able to create socket ...
16
votes
4
answers
27k
views
Reading a file in real-time using Node.js
I need to work out the best way to read data that is being written to a file, using node.js, in real time. Trouble is, Node is a fast moving ship which makes finding the best method for addressing a ...