Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sockets

Sending Messages Client->server->client On Socket.io On Node.js

I'm using NodeJS+Socket.IO for simple web game. It works. Why? Here's my server.js var app … Read more Sending Messages Client->server->client On Socket.io On Node.js

Socket.io : "cannot Read Property 'emit' Of Undefined"

So I'm currently developping my website using socket.io. Today, while I was implementing the so… Read more Socket.io : "cannot Read Property 'emit' Of Undefined"

Could Not Decode A Text Frame As Utf-8.

Now i have struggled to get this bug fixed, but i cannot find out how to fix it, i have searched an… Read more Could Not Decode A Text Frame As Utf-8.

Socket.io In Express Routes File

I'm working on a project which consists in creating a game of the goose like. In order to do th… Read more Socket.io In Express Routes File

Iterate Over Sockets In Socket.io V1? "...has No Method 'clients'"

Before I was able to write something like this: io.sockets.clients().forEach(function (socket) { … Read more Iterate Over Sockets In Socket.io V1? "...has No Method 'clients'"

Node Socket.io Socket.on() Across Multiple Files

I'm using Socket.IO in a node app and I wish to catch and respond to socket events in different… Read more Node Socket.io Socket.on() Across Multiple Files