Questions tagged [socketstream]

SocketStream is a fast, modular Node.js web framework dedicated to building realtime single-page apps.

SocketStream is a new breed of web framework that uses websockets to push data to the browser in 'realtime'. It makes it easy to create blazing-fast, rich interfaces which behave more like desktop apps than traditional web apps of the past.

By taking care of the basics, SocketStream frees you up to focus on building your social/chat app, multiplayer game, trading platform, sales dashboard, or any kind of web app that needs to display realtime streaming data. All personal tastes (e.g. Vanilla JS vs CoffeeScript, Stylus vs Less) are catered for with optional npm modules that integrate perfectly in seconds, without bloating the core.

SocketStream eases the pain by:

  • Integrating best-of-breed modules to increase productivity
  • Providing a sensible place to put everything
  • Accelerating development with Live Reload and (optional) support for Stylus, Jade, etc
  • Accelerating deployment with integrated asset packing and CDN support
  • Organizing spaghetti client-side code into modules you can require()
  • Working well with all major client-side frameworks (e.g. Backbone, Ember, Angular)
  • Making it easy to hookup Redis, MongoDB, CouchDB or other storage engines
  • Providing an active community to answer your question

SocketStream is MIT licensed.

41 questions
0
votes
2 answers

Socketstream(0.3) server-side code confusion

I'm trying to understand exactly where/how I should implement node.js/socketstream server side code that runs independent of client rpc calls. As a simple example I'm trying to push a regular clock update to connected clients using something like…
jlabrie
  • 3
  • 2
0
votes
2 answers

SocketStream: Accessing @session outside of /server/app.coffee

I'm just getting started with SocketStream. (v0.1.0) I created the file /app/server/auth.coffee with an exports.actions.login function. I'd like to access @session.setUserId in this file, but I'm have a hard time figuring out where @session lives…
Craig M
  • 5,598
  • 4
  • 32
  • 43
0
votes
0 answers

Will BlockingCollection or TPL will be suitable for multiple producer-consumer scenario

Will only BlockingCollection or TPL with BlockingCollection will be suitable for this case: program will gather data from multiple socket streams (will act as client). Get Packet from socket, forward it to the central processor. Central processor…
0
votes
1 answer

Using WaitForMultipleObjects() with ACE_SOCK_Stream - get event only when there's data

Is it possible to use WaitForMultipleObjects() with ACE_SOCK_Stream, and make it return only when there's data to read from it? I tried to following: // set some params DWORD handlesCount = 1; DWORD timeoutMs = 5 * 1000; HANDLE*…
Ronen Ness
  • 9,923
  • 4
  • 33
  • 50
0
votes
1 answer

SocketStream::read crashes

We use an in NSInputStream to receive data from an IMAP-server. We see a stange crash in Xcodes Crashes that we are not able to reproduce. The InputStream is initialized like this (i omitted some sanity-checks): - (void)getStreamsToServer:(NSString…
Tobias
  • 1,220
  • 17
  • 35
0
votes
1 answer

socketstream app throwing 404 not found

I'm trying to load the socketstream application with express and cors, which is throwing an error stating 404. All the project directories are available in browser but no contents. var app = require('express')(); var ss =…
Beast
  • 617
  • 2
  • 8
  • 19
0
votes
1 answer

socketstream tutorials/authentication can't use Everyauth with the chat demo

https://socketstream.github.io/socketstream/docs/#/tutorials/authentication when i put the codes in this section to the demo project(real time chat), the chat function doesn't work. can any one help me with this? here's my code: //…
Ryan
  • 1
0
votes
1 answer

Enabling ssl in socket stream app

I'm writting a socket stream app in which i need it to work with ssl. Googled it a while, found a link, but the answer link is broken Any help is appreciable.
Beast
  • 617
  • 2
  • 8
  • 19
0
votes
1 answer

Send string array from java client to NodeJs server

I'm developing an Android app that will send a string array to an external NodeJs server running on the Raspberry Pi. I'm currently handling the sending side of the app using an AsyncTask, with a socket layer setup inside targeted at the NodeJs…
robert
  • 23
  • 6
0
votes
1 answer

ss.api.publish.user('someUser Id', content) is not working in socket stream

I'm using socket stream to send the data to the logged in user by using the following code var ss = require('socketstream'); .... .... ss.api.publish.user('userId', content); but the ss.api.publish is undefined is what the error i'm receiving. Where…
Beast
  • 617
  • 2
  • 8
  • 19
0
votes
1 answer

SocketStream not executing anything from a newly added JS file in client

I am doing this to load all JS files in app folder ss.client.define('main', { view: 'app.jade', css: [ 'libs/reset.css', 'app.styl' ], code: [ 'libs/jquery-2.1.0.min.js', 'libs/angular-1.2.10.min.js', …
ilyo
  • 35,851
  • 46
  • 106
  • 159
0
votes
1 answer

Can socketstream act on ss.event.on in server

I am publishing messages to a Redis server with the Pub/Sub system. I am using Socketstream 0.3 with node.js to listen to and process these messages. In client code (app.js) I can act on these messages just fine using ss.event.on: ss.event.on…
0
votes
1 answer

Node objects/modules information

So I am working on a small text based adventure game via node, I am using the SocketStream framework. What I want to do is to load a map via xml, parse that map, take each room from the map and store its information in a room object. I have made a…
Tempus35
  • 176
  • 3
  • 13
0
votes
1 answer

engine.io / wss / SSL / HTTP : how to configure?

I'm using SocketStream (v 3.5) and have configured it to use the HTTPS server. The page is served but the WebSocket connection fails somewhere in the Engine.io area. I'm looking for clues as to how to proceed into the node_modules to configure the…
Wylie Kulik
  • 696
  • 5
  • 17
0
votes
1 answer

SocketStream demo app modified to HTTPS fails connection

Using version 3.5. The demo app works great with the default HTTP settings. I followed the HTTPS usage suggestions on their slideshow tour and it worked -- or seemed to. The page is served correctly, but chat messages do not post. Open up the…
Wylie Kulik
  • 696
  • 5
  • 17