I'm trying to implement
The problem I am facing is: I downloaded and followed the command: npm install socket.io , I get this message: (Sorry for the link to the drive, but I have There is no necessary repops yet to post magazines)
After that I command node server JS
Server.js:
// Created by coffee script 1.9.1 (function () {var io; io = require ('Socket.io'). Listen (4000); io.sockets .on ('connection', function (socket) {});}). Call (this); which is running at CMD prompts but moves forever . Any help would really be appreciated.
It should run forever. This node.js works how this node process is Your server will connect your client application through your port 4000.
Press Ctrl + C to stop this.
No comments:
Post a Comment