¡@

Home 

javascript Programming Glossary: sockets

HTML5 WebSocket vs Long Polling vs AJAX

http://stackoverflow.com/questions/10028770/html5-websocket-vs-long-polling-vs-ajax

polling etc and as I researched I ran across HTML5 websockets... It SEEMS easy to implement and although not full spec yet.. PHP . You can store data in RAM or even republish between sockets straight away. Remember that WebSockets generally have very..

Create “Hello Wold” WebSocket example

http://stackoverflow.com/questions/10200910/create-hello-wold-websocket-example

make sure that you receive data right way using sockets. For example to prevent that some messages get merged into one..

Nodejs Event Loop

http://stackoverflow.com/questions/10680601/nodejs-event-loop

asynchronously. It handles file descriptors data handlers sockets etc. You can read more about it here here . LibUv is an abstraction..

Comet & PHP: How to use Comet with a PHP Chat System?

http://stackoverflow.com/questions/1190744/comet-php-how-to-use-comet-with-a-php-chat-system

Manage multiple tabs (but same user) in socket.io

http://stackoverflow.com/questions/12166187/manage-multiple-tabs-but-same-user-in-socket-io

associate it with the user's nickname and the connected sockets. Then you can iterate through each socket and send the message...

Performance problems with HTML5 Canvas in some mobile browsers.

http://stackoverflow.com/questions/16191324/performance-problems-with-html5-canvas-in-some-mobile-browsers

undefined console For intense real time applications web sockets are faster then http requests. Unfortunately this feature is.. native android browsers. If it's not possible to use web sockets you should minimize the http requests. Note Chrome for android.. features cited here including requestAnimationFrame and websockets . More information Drawing text using the context 2d fillText..

tail -f in a webbrowser

http://stackoverflow.com/questions/2836838/tail-f-in-a-webbrowser

very easy to implement Http Web server functionality using sockets. Whenever an Http GET request is coming serve only the difference..

How can I communicate over TCP sockets from JavaScript?

http://stackoverflow.com/questions/307539/how-can-i-communicate-over-tcp-sockets-from-javascript

can I communicate over TCP sockets from JavaScript I'm thinking about how limiting it is for AJAX.. into and out of the browser plugin. javascript ajax gui sockets share improve this question Here is an implementation with..

Good beginners tutorial to socket.io? [closed]

http://stackoverflow.com/questions/4094350/good-beginners-tutorial-to-socket-io

working with canvas and would now like to move over to websockets part of it. I have come to understand socket.io is by far the.. the framework to work with when we want to work with web sockets. Any pointers on what tutorial and examples to refer to for.. you need to read this great tutorial http howtonode.org websockets socketio Hint At the end of this blog post you will have some..

Send message to specific client with socket.io and node.js

http://stackoverflow.com/questions/4647348/send-message-to-specific-client-with-socket-io-and-node-js

there must be a better solution. Any ideas javascript sockets node.js server side share improve this question Well you..

Scaling a chat app - short polling vs. long polling (AJAX, PHP)

http://stackoverflow.com/questions/5313641/scaling-a-chat-app-short-polling-vs-long-polling-ajax-php

How do I scale this please help php javascript ajax sockets share improve this question A few notes Polling every second.. starting out with polling rather than comet long polling sockets. Polling is simple to build and support and will likely scale..

Send and receive binary data over web sockets in Javascript?

http://stackoverflow.com/questions/5766802/send-and-receive-binary-data-over-web-sockets-in-javascript

and receive binary data over web sockets in Javascript It is possible to send and receive binary data.. It is possible to send and receive binary data over web sockets in Javascript Could I for example implement an SSH client using.. Could I for example implement an SSH client using web sockets javascript binary bit manipulation websocket share improve..

Update all clients using Socket.io?

http://stackoverflow.com/questions/7352164/update-all-clients-using-socket-io

I want this to happen is realtime. var clients 0 io.sockets.on 'connection' function socket clients socket.emit 'users_count'.. 'users_count' clients Instead you want to emit to all sockets io.sockets.emit 'users_count' clients Alternatively you can.. clients Instead you want to emit to all sockets io.sockets.emit 'users_count' clients Alternatively you can use the broadcast..

How to run user-submitted scripts securely in a node.js sandbox?

http://stackoverflow.com/questions/7446729/how-to-run-user-submitted-scripts-securely-in-a-node-js-sandbox

only do basic computation and has no access to files or sockets. While you should read sandbox's code as an inspiration I wouldn't..

How do real time updates work?

http://stackoverflow.com/questions/10808924/how-do-real-time-updates-work

share improve this question Stack Overflow is using Web Sockets for real time updates. If you take a look in the source code.. Opera 10.70 However Facebook does not seem to use Web Sockets and I think they are just using simple XHR. share improve this..

Is native PHP support for Web Sockets available?

http://stackoverflow.com/questions/12203443/is-native-php-support-for-web-sockets-available

native PHP support for Web Sockets available Looking for Hello World Type Example of Web Sockets.. available Looking for Hello World Type Example of Web Sockets Implementation Here is Socket Create reference from php.net.. from php.net but this looks more low level than Web Sockets. I want to use this Web Sockets as shown here on caniuse.com..

How does Stack Overflow notify of server-side events without a page reload? I see no request in Firebug

http://stackoverflow.com/questions/12425304/how-does-stack-overflow-notify-of-server-side-events-without-a-page-reload-i-se

improve this question It appears to be using HTML 5 Web Sockets . They basically keep an open connection between the server.. Here you'll find some basic examples and concepts about WebSockets Introducing WebSockets Bringing sockets to the web . The WebSocket.. examples and concepts about WebSockets Introducing WebSockets Bringing sockets to the web . The WebSocket specification defines..

How to Use Sockets in JavaScript\HTML?

http://stackoverflow.com/questions/1736382/how-to-use-sockets-in-javascript-html

to Use Sockets in JavaScript HTML How to Use Sockets in JavaScript HTML May.. to Use Sockets in JavaScript HTML How to Use Sockets in JavaScript HTML May be using some cool HTML5 technics Libs.. share improve this question Specifications W3C The Web Sockets API Articles HTML5 WebSocket and WebJneering WebSocket is neither..

AJAX and Client-Server Architecture with JavaScript

http://stackoverflow.com/questions/2073939/ajax-and-client-server-architecture-with-javascript

on the internet for each of these options. 5. Web Sockets If you are on the cutting edge you can look into Web Sockets.. If you are on the cutting edge you can look into Web Sockets . It's only available in the latest builds of modern browsers... defines an API that enables Web pages to use the Web Sockets protocol for two way communication with a remote host. Special..

Is “long polling” the most efficient way to create a Web Real Time App?

http://stackoverflow.com/questions/2440135/is-long-polling-the-most-efficient-way-to-create-a-web-real-time-app

installed enabled in their browsers. In the future Web Sockets might be able to do an easier job of it for us. Update As of..

Node.js: Connecting to a Server Using Sockets

http://stackoverflow.com/questions/3965072/node-js-connecting-to-a-server-using-sockets

Connecting to a Server Using Sockets I'm just starting to play with Node.js today and thought I'd..

Scaling a chat app - short polling vs. long polling (AJAX, PHP)

http://stackoverflow.com/questions/5313641/scaling-a-chat-app-short-polling-vs-long-polling-ajax-php

to get new messages. Things I've considered HTML5 Web Sockets didn't use this because it doesn't work in all browsers only.. it doesn't work in all browsers only chrome . Flash Sockets didn't use this because I wanted to eventually support mobile..