Websockets are a powerful tool for creating real time applications. The websocket protocol runs over TCP . Unlike HTTP, it provides a bi-directional, full-duplex communications channels. Apart from having its own protocol, websocket also has an API which can be used by web applications to open and close connections and to send and receive messages.
Dec 03, 13