Still, if there’s an easy way to interface directly with the server, that would be preferable.
Interfacing directly with a c++ interface is not easy because io-socket uses a specific protocol with HTTP, base64, SHA1, etc… It is the RFC 6455, and I have abandonned the idea of writing an interface, too difficult. There is some projects that implements the protocol. I have tryed this one but not reached to make it work. There is this and this which uses c++ 11, boost. I dont had the time to try them.
An other way is to create an HTML page to manage the protocol, and embbed it with an IWebBrowser2 com object. It is pretty easy (there is a sample), and after, we can automate it with IWebBrowser2::get_Document, IHTMHDocument2::get_body, IHTMHDocument3::getElementById, IHTMHDocument3::innerText, etc… I am programming a sample in this direction. Obviously, in this case, we must know if the computer is connected at internet to know where to found jquery.js and socket.io.js.