How to include a Javascript or CSS file in Yii Framework? I want to create a page on my site that has a littl
In Yii 1.1 this code works for default sorting: $dataProvider = new CActiveDataProvider('article',a
Used NodeJS, Socket.io Problem Imagine there are 2 users U1 & U2, connected to an app via Socket.io. Th
I'd like to use WebSockets for inter-process communication for my application (Daemon<->WebGUI and
I wrote a code for broadcasting a message to all users: // websocket and http servers var webSocketServer = re
I don't understand why I cannot make the following code work. I want to connect with JavaScript to my ser
Socket.IO seems to be the most popular and active WebSocket emulation library. Juggernaut uses it to create a
I am looking for a simple code to create a WebSocket server. I found phpwebsockets but it is outdated now and
I want to construct a WebSocket URI relative to the page URI at the browser side. Say, in my case convert HTTP
I would like to get the reason websockets closed, so I can show the right message to the user. I have sok.on
I am writing a server for an iOS game. The game is turn-based and the only time the server needs to push infor
var ws = new WebSocket('ws://localhost:8080'); ws.onopen = function () { ws.send(JSON.stringify({
I have a question about how to load balance web sockets. I have a server which supports web sockets. Browsers
I'm trying to create a websocket server written in node.js To get the server to work I need to get the S
I am playing around with HTML5 WebSockets. I was wondering, how do I close the connection gracefully? Like, wh
I have read many posts on SO and the web regarding the keywords in my question title and learned a lot from th
I keep reading about ping/pong messages in websockets to keep the connection alive, but I'm not sure what
I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to s