WebSocket Server
-
Platform: Win 10 x64
C4D/API Version: R20
Language: C++Hi all,
I'm trying to develop a plugin that relies on running a WebSocket server, receiving a clients connection, and sending/receiving data. I've found the network_websocket header in the network framework and have been looking through trying to figure it out. However there seems to be a lack of documentation on this, if anyone can point me in the right direction I would be incredibly grateful ! Thank-you all in advanced.
-
Hi xNWP, thanks for writing us.
With regard to your request, I confirm that we don't have in our short-term plans the WebSocket Interface to be documented. Definitively it's under our radar and you'll find more on it in future revision of the Cinema API documentation.
For the time being I encourage you to have a look to the Network section provided with the latest documentation. On my side I'll try to get back as soon as possible some code snippet showing at least the basics to use the WebSocketConnectionInterface.Best, Riccardo
-
Thank for the reply r_gigante
I did in fact find the interface without any issues but was having issues using it in any way, I got as far as telling that it needed to use the Class<T> template but was unable to figure out due to either lack of documentation or my own lack of C++ knowledge
I'll likely just stick to my own WebSocket library in the meantime until this feature is well documented/supported