I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this:  client.send(message, receiverSessionId)   But neither the .send()...
So here is the deal: I'm trying to use socket.io in an express project. After Express Js 4 was lauched, i've updated my express-generator and now the app initial functions goes into ./bin/www file, including those vars (www file contents: h...
For some reason my node server cannot serve the route /socket.io/socket.io.js, I always get a 404 error. I tried compiling different node versions (current is 0.6.13 which also runs on server, where it actually works). From the app.js I get info: s...
We are developing a web application that will run only on modern browsers (IE10+) for different reasons.  One of the features we implemented is Socket.io 1.x. However, by default the Socket.io client tries to support older browsers, so it starts a...
I am trying to get socket.io (Node library) to work.  I have the server-side js working, and it is listening. The socket.io website states simply:  <script src="/socket.io/socket.io.js"></script> <script>   var socket = io...
I would like to ask for your help. I'm having a hard time in my client side of socket.io, I would like to call this code in my client side to create a room in socket.io:  var rooms = []; socket.on('create', function (roomname) {     roo...
I made a program that sends out data to my arduino which detects what was sent and then turns on the correct pin according to what key is pressed.  When using the arduino software from my windows computer the arduino sketch works fine, I can make e...
Cant handle this disconnect event, dont know why socket its not send to the client / client doesnt response!  Server  io.sockets.on('connection', function (socket) {    socket.on('NewPlayer', function(data1) {      online = online +...
I just read this post, and I do understand what the difference is. But still in my head I have the question. Can/Should I use it in the same App/Website? Say I want the AngularJs to fetch content and update my page, connecting to a REST api and all o...
I am using socket.io and it was quick to setup (thanks to examples on their usage page) but i'd like to find out more about what exactly is going on under covers and what's the technology that makes it work.   what are the exact mechanics of...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.