Today I spoke at Portland Code Camp 2011 about WebSockets.
The code for the “perfmon in your browser” demo I wrote during the session is here:
https://github.com/paulbatum/WebSocketSmoothieDemo
I based my session around the HTML5 Labs WebSockets prototype which is here:
http://html5labs.interoperabilitybridges.com/prototypes/websockets/websockets/info
You will need to install the MSI available at the above link and then reference the dll’s that it installs as I do not have permission to redistribute the dll’s myself.
I used a particular Aurora build of Firefox that supports version 07 of the WebSocket protocol:
http://www.ducksong.com/misc/websockets-builds/ws-07/5.0.a2.04/
Thankfully I was able to fix all of my mistakes quite quickly so I did not have to use the 1.8 release of Firebug that I typically debug with in Aurora:
http://getfirebug.com/releases/firebug/1.8/
I used several NuGet packages (jQuery, JsonValue, json2).
I used Smoothie to do the canvas graph (if you grab the version included with my code you are getting my modified version):
http://smoothiecharts.org/
If you have any questions or feedback on the talk drop me a line on email, twitter, or leave a comment here on my blog.
Thanks for your interest in WebSockets!