All Questions
5 questions
0
votes
1
answer
244
views
We can make an http request on node.js with the client IP address?
I'm noob with node.js but I know node.js is a server side language so when we make an http request we probably use the server IP address, right ?
I want to know if there any solution to use the ...
0
votes
0
answers
28
views
RealTime communication Nodejs
assuming you have a server and a client, the server is able to perform operations, the client is always waiting for the server to perform operations. The client knows the address of the server, the ...
0
votes
1
answer
193
views
piling up of requests in the client
I am sending 10 requests from the client to the server and putting a sleep after every request. But the request is not reaching the server immediately.
i.e, suppose request 1 is sent from client to ...
1
vote
1
answer
5k
views
Nodejs as a client to a Request/Response server via socket
I am trying to build a webserver with sailsjs.
In order to perform its request, my server needs to connect to a socket to pass commands and wait for reponses.
For each command, I wait for a specific ...
5
votes
3
answers
2k
views
Node http.request, no event(s) triggered if Internet stopped after sending the request
I have the following PHP Script on server that will wait 10 seconds and say Hello:
<php sleep(10); ?>Hello
On the client side (node), I have the following:
var http = require('http');
http....