You can then use websockets to communicate. It's straight forward. You could even use a webpage instead of native application to drive your needs.
Depends where your developmental strengths lay.
Otherwise, there's https://github.com/zaphoyd/websocketpp
/ (using) boost (asio). For a straight forward C++ websocket crossplatform approach. Both work with the RP from my understanding.