How is this possible you ask?
The hard part of using websockets is establishing a connection with a webpage. For security reasons, a key is passed back and forth in a complicated “handshake”: the webpage sends some information, and the NXT must respond with a specific answer back. We’ve taken care of that with our websockets library so you can easily and quickly setup your robot to communicate with Chrom, Internet Explorer, Mozilla, Opera, and Safari.Dexter very helpfully supply a fully worked code example in RobotC, ready for you to tinker with.
What would I do? Set up an NXT with a temperature sensor, light sensor and sound sensor and constantly update the conditions in my office. An Ultrasonic sensor pointing at my chair could also be used to update a webpage letting people know if I'm in, or out at a meeting :)