By @cssaddict
Websocket is a IETF-defined protocol that provides full-duplex communications channels over a single TCP connection.
The W3C-degined API enables javascript applications to use WebSockets to build efficient, event-driven, real-time applications
var connection = new WebSocket('ws://localhost:1337',
['wamp', 'xmpp', ''example.com/v2]);
socket.io - Transports include to Flash Socket, XHR-Steaming, Long Polling, Iframe Messaging, JSONP Polling