I'm working with socket.io and node.js and until now it seems pretty good, but I don't know how to send a message from the server to an specific client, something like this:  client.send(message, receiverSessionId)   But neither the .send()...
I am playing around with HTML5 WebSockets. I was wondering, how do I close the connection gracefully? Like, what happens if user refreshes the page, or just closes the browser?  There is a weird behavior when a user just refresh the page without ca...
I keep reading about ping/pong messages in websockets to keep the connection alive, but I'm not sure what they are.  Is it a distinct frame type? (I don't see any methods on a javascript WebSocket object in chrome related to ping-pong).  Or...
I just read this post, and I do understand what the difference is. But still in my head I have the question. Can/Should I use it in the same App/Website? Say I want the AngularJs to fetch content and update my page, connecting to a REST api and all o...
My error shows up in the console of my browser:   "WebSocket connection to 'ws://localhost:32768/DspClusterWebServices/myHandler' failed: Unexpected response code: 200"  I am using Spring Websockets 4.1.5 and Tomcat 8.0.18. My WebSock...
I have a node.js app, that uses socket.IO. It works fine on http, but when trying to connect to the socket through https - nothing happens. Here's some part of the code:    var fs = require('fs');    var ioHttp = require('socket.io...
I am stucked with Firefox. I could not make Websocket work on it. I use Tornado Websocket and I initialized it by code below:  app = Application([(r'/mypath/ws', WSHandler)]) http_server = HTTPServer(app, ssl_options={                 "ce...
I'm using some client-side JavaScript code to pull a lot of JSON data from a webserver via an HTTP GET. The amount of data can be big, say 50 MB. This is on a LAN so it's not much of a problem, but it still takes ten seconds or so.  To make m...
When doing new WebSocket('ws://server/'); Safari connects fine, but when using new WebSocket('wss://server/'); it completely fails (returns a null object). Worse, it fails silently - no errors in traceback (a custom Eventlet web serve...
I'm just starting to familiarize with AngularJS, but I would like to build a web app that has a view that gets auto-upated in real-time (no refresh) for the user when something changes in the server-side database.  Can AngularJS handle this (most...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.