I have created a Web Socket server using c++.As we know that HTML 5 support Web Socket and we have standard Web Socket Java Script Api to communicate with web socket server.
You can support those browsers with Socket.io, yes, but not specifically with web sockets (as many of those browsers versions don't have web sockets).
As of November 2013, Socket.io's list of supported browsers was:
Desktop:
Mobile:
They achieve this level of support by using a variety of transports, depending on what the browser is capable of (again, from November 2013):
Since then, Socket.io has been split up into (at least) Socket.io and Engine.io where the latter provides the transports. And it seems like Engine.io's list of transports has dramatically reduced:
polling
: XHR / JSONP polling transportwebsocket
: WebSocket transportIt seems to suggest there's still a way of doing Flash sockets as well.
Presumably this reflects the fact that websockets are almost universally supported in modern browsers.