WebSocket is an API and a protocol for bi-directional, full-duplex communication that is closely associated with HTML5 and implemented in recent versions of most web browsers.
0
votes
0answers
30 views
2
votes
0answers
78 views
Online Snake v0.1 with Python-flask and socketio
What I am essentially doing is writing a snake game that everybody could play on the internet, broadcast their game if they like and so on. Now it looks like this, just websocket-based snake, no user ...
7
votes
1answer
135 views
Robust websocket server for use by a game running on node
This code is a server for websocket connections, it handles the low level stuff and delegates incoming messages to handler objects. I wanted performance to win in any trade off against maintenance ...
4
votes
0answers
115 views
Electron Application with JavaScript Backdoor and Ruby Command-Line Listener
I have created an Electron Application with a JavaScript/NodeJS Backdoor and a Ruby command-line listener.
I created this program for remote administration of my home computer securely using a new ...
0
votes
0answers
82 views
Simple channel broadcaster via NodeJS websockets
I have a system in PHP and I was asked to add some real time features. I was wanting to learn NodeJS so I considered a opportunity to kill two birds with one stone.
But after some search I was unable ...
0
votes
0answers
76 views
Npm-module: socket-event
I've written a small npm module. It is my first module. I'm asking you to review several things:
The code. I am rather starter, so any wise critic will be super.
Any suggestions or ideas on the ...
2
votes
1answer
30 views
Pass canvas content from client to admin using web socket
The application's aim is to transfer drawings from the client canvas to the admin canvas using web sockets, as smoothly as possible. At every mousemove event, the client canvas is compressed to .png ...
10
votes
1answer
99 views
Chat.SE in Terminal
This is a script that accesses the SE impromptu APIs to receive the fkey, a variable need for connection to chatrooms, and uses it to build a websockets connection ...
12
votes
2answers
264 views
BigBrother - A chat room watcher
Originally, this script stemmed from a small script that watched stars and who made them, but a few days after launching, SE patched it so the people behind the stars aren't sent.
Regardless, ...
1
vote
0answers
38 views
Proxying Socket.io requests and other HTTP requests
I have written a proxy server using node HTTP proxy, which can also be found on Github. I am bit unsure about whether I am proxying the web sockets correctly.
...
2
votes
0answers
617 views
Flux & async communication with websockets
I want to arrange async server-client communication with websockets and vanilla flux architecture. There is an excellent article about "Async Server-Side Communication with the Flux Architecture". I ...
4
votes
1answer
647 views
Websocket-based server for Raspberry Pi
I am trying to build a websocket server to run on the Raspberry Pi. The websocket server has to push periodic realtime update to a browser. Here is a sample code that I am planning to use. The example ...
10
votes
1answer
398 views
WebSocket-based API library in Racket
I've developed a library in (typed) Racket that wraps a WebSocket-based API. The API itself is very simple—it operates via a series of three-letter commands optionally followed by a JSON-encoded ...
1
vote
1answer
82 views
Parsing user name and password from binary in Erlang + Cowboy
I am working on a web app that uses a WebSocket to log in users. I would like to minimize bandwidth usage by using binary messages. I came up with the following, and would like to know whether there ...
3
votes
0answers
772 views
Real-time bitcoin data feed and storage using websocket framework
I'm trying to create data feed script for real time bitcoin data for OkCoin exchange using their websocket API (documentation) and a database manager for storing.
There are two channels I am ...
4
votes
1answer
61 views
Plugin for communication protocols in browser(s)
I would like to get some feedback from the community regarding a plugin I recently moved from requiring jQuery to a stand alone JS implementation. It is meant to handle browser communication protocols ...
11
votes
2answers
416 views
Stack Exchange websockets wrapper
I've been writing a small library that allows for easy querying of the Stack Exchange websockets.
I'm going to add an enum to replace the manual ...
17
votes
2answers
23k views
Websockets client code and making it production-ready
The following code is helpful to anyone who uses websockets in general... and is probably good template for anyone getting started in this area. I'd like to flesh this out into something that is more ...