I wrote the following code for chat client to client(client1 to server server to client2) but I am  getting an error:  Missing error handler on socket. TypeError: Cannot read property 'emit' of undefined  Here is my serverside code.  var app...
I've been looking through the entire Socket.IO docs, but, even though they promise it is there, I can't find a simple, minimal example, of how one would send binary data between server/client.  How is it done?...
I'm trying to create a realtime voice chat. once a client is holding a button and talks, I want the sound to be sent over the socket to the nodejs backend, then I want to stream this data to another client.  here is the sender client code:  socke...
I have been reading many blogs about Socket.IO these days and impressed by features of it.  I am planning to use it one of chat applications and for normal number of users with minimal number of users it is working perfectly. But are there any pitfa...
I would like to know what are the differences between   var socket = io();   and    var socket = io.connect();   using socket.io in my script (client side)  Thank you!...
Does socket.io ignore\drop them? The reason why Im asking this is the following. There is a client with several states. Each state has its own set of socket handlers. At different moments server notifies the client of state change and after that send...
I'm fairly new to the world of JS and its abundance of libraries.  I'm looking to get into a project that involves network communication (sockets) between clients and a server.  In a world with tons of libraries, I cannot make a decision as t...
I don't know how to put forward this question to you. Actually I am creating an application which needs the following things:   Many users will be registered on this app. Every user will be associated with one or more groups I want members of a p...
so i don't know if it's a new thing in socket.io 1.1.0 but whenever i have a javascript error, anywhere in my code (even when it doesn't involve socket.io at all), socket.io is simply disconnecting (it calls the disconnect event and also...
Unfortunately socket.io developer team decided to deprecate functions set() and get(). The problem is that these two functions allowed us to save variable into session.  So my question is : What is the equivalent of the folloing code on socket.io 1.0...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.