Authors
-
Michael Carter of Orbited has written about how he now likes to call Comet sockets in the browser, and has an implementation available that looks like this:
PLAIN TEXT
JAVASCRIPT:
var conn = new TCPSocket(hostname, port)
conn.onopen = function() { alert('connection opened!') }
conn.onread = function(data) { alert('RECEIVE: ' + data) }
conn.onclose = function(data) { alert('connection closed!') }
conn.send('Hello World');
... (Read Full Article)
Related Articles
- Simplicity: PHP Ajax Framework using Ext
- also written by Dion Almaer
- Google Gears 0.2 Developer Release
- also published in Ajaxian
- Tastebook: Rails Ajax Cookbook App
- also written by Dion Almaer
- How IE Mangles The Design Of JavaScript Libraries
- also written by Dion Almaer
- Drinking offline at the Happy Hour while being openly social
- also written by Dion Almaer
- AjaxSwing 2.0: AJAX front end for Swing applications
- also written by Dion Almaer
- YAML the CSS framework
- also published in Ajaxian
- Cross-Site XMLHttpRequest in Firefox 3
- also written by Dion Almaer
- CompressorRater: Compare the squeeze
- also published in Ajaxian
- Flemish Politics Election Center
- also written by Dion Almaer





Recent Comments
joew » Partial Functions in JavaScript
This is a fascinating article, partial function application is a really useful technique John's ...
pawan » Google
Here are two other similar products which I bookmarked in the past: http://www.maani ...
See all recent comments