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...
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 writing an application for Android 2.3.5 (that will also be compatible with iOS). I wish to transfer data from the app's HTML/Javascript to a Python program on a server (which uses the Twisted engine to retrieve the data).  I've tried ma...
I can only seem emit messages to users when their socket id has been directly stored within the io.sockets.on('connect') function. I don't know why it doesn't work when trying to store their socket id after they have logged in.  Worki...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.