I need a full duplex client websocket (server is streaming, client may send some requests from time to time). I use Poco 1.7.6 (happy to upgrade to latest release if required).
I was thinking to use the Reactor framework as for a raw TCP socket, unfortunately, Poco::Net::SocketConnector constructor only accepts SocketAddress, you cannot instantciate it with an alreaydy built socket (case of WebSocket).
What is the best way then to implement full duplex web socket?
Or should I loop with a timeout on receiveFrame, in order to have chance to sendFrame not too late ?
Is it the recommended way?
Thanks for any hint.