node is crashing at the following line:  var tcp = require('tcp'),   error text:  node.js:201     throw e; // process.nextTick error, or 'error' event on first tick           ^ Error: Cannot find module 'tcp' at Function._reso...
I have two node processes that speak to each other.  I will call them [Node Server] and [Node Sender].  [Node Sender] continually processes information and writes a message over a TCP connection to [Node Server].  [Node Server] then writes back a sta...
I have built a tcp server within node.js which receives and sends data to each client connecting to this server (clients in c++). Now I want the browser with javascript to connect to this server, but all I receive in the console of the server is this...
I have a websocket server and client.  I am able to establish a connection and transmit messages(data) in both directions.  However, when a client running in a web browser rapidly makes calls to socket.send() some messages are not received by the ser...
This question seems to suggest that Ajax requests are not guaranteed to return in their sent order. However, Ajax uses the TCP protocol, which seems to guarantee that the packets will return in their sent order:     Ordered data transfer — the dest...
I am trying to identify an issue with my TCP JSON stream on my live server. What I have found is that if data streamed to me via TCP (in JSON format) is too large, then it does not consistently go through for parsing. I have to stream it a few times...
I am using the OSC module https://github.com/colinbdclark/osc.js but I am struggling to get it to work over TCP.  I am unable to find any examples that use TCP, they are all based on UDP.  I have tried just creating a TCP client in node.js but still...
The following is a simple Node.js tcp server.  var net = require('net');  var conn = [];  var server = net.createServer(function(client) {//'connection' listener     var i = conn.push(client) - 1;     //console.log('[conn',i,&...
I am currently designing a GUI for a piece of hardware. We want the GUI to be able to be accessed over a browser. The browser would be displaying a map generated from C++ code, but I also need to send some params to the code that generates the map fr...
I'm asking if it is possible to create a backend in node.js who has the same API but is compatible both TCP and WebSocket protocols, on the same port ? I'm aware that Websocket is TCP based but have some high-level pre-requisites and found no...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.