WebSockets is the next generation bi-directional communication technology for web applications. This operates over a single socket and is exposed via a JavaScript interface.
var Socket = new WebSocket(url, [protocal] );
The socket starts out as a HTTP request and updates to TCP socket after a HTTP handshake. After that either can receive data.
Is a real time messaging system build using WebSockets. This is implemented using Node.js.
Check this getting started guide.
0 comments:
Post a Comment