WebSocket API Interview Question
Comprehensive source of knowledge for interviews WebSocket API .
Introducing Websocket

WebSockets is a technology that supports two-way communication between a client and a server using a TCP socket to create a connection that is efficient and inexpensive. Although designed specifically for web applications, programmers can incorporate them into any type of application.
WebSockets is a new feature in HTML5, and is a Reverse Ajax technique. WebSockets allows for parallel two-way communication channels and is now supported in many browsers (Firefox, Google Chrome, and Safari). The connection is opened through an HTTP request, called a WebSockets connection, with special headers. The connection is maintained so that you can write and receive data in JavaScript as if you were using a plain TCP socket.