Open vinniefalco opened 6 years ago
Thanks for the info. Do you think Boost.Beast is a better option than websocketpp?
A library has to be pretty good to get accepted to Boost. Here's a comparison: http://www.boost.org/doc/libs/1_66_0/libs/beast/doc/html/beast/design_choices/comparison_to_zaphoyd_studios_we.html
Dear Vinnie, thank you for your reply. After several weeks I had some time to go back to this and I have reimplemented my C++ example based on your advanced_server_flex example.
I have done some refactoring to segregate the actual handling of the message on a separated "Handler" class, I believe the code is cleaner this way. I can create now different server classes with specific missions and I don't need to entangle them with all the connection management and boilerplate code. I'm sharing it here:
https://github.com/EdFuentetaja/WebSockets/tree/master/WebSocketCPP_Beast http://edfuentetaja.github.io/software/websockets_2/
I hope I got it right, your domain of the modern C++ features is several levels above of mine. I hope one day I can reach it. On the other hand, I have to tell you that I side with the crowd that would like this beautiful language to be less complicated, not more. I see a programming language as a tool to achieve a mean, and consequently I try to write code as simple and as understandable as it is possible, given the performance and memory constraints. As a member of the body for the advancement of C++ see if you can contribute to make it simpler and more accessible to the younger generations.
Thank you for sharing your amazing work and all the best to you,
Ed Fuentetaja Singapore
On Mon, Mar 5, 2018 at 7:01 PM Vinnie Falco notifications@github.com wrote:
A library has to be pretty good to get accepted to Boost. Here's a comparison:
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/EdFuentetaja/WebSockets/issues/1#issuecomment-370384433, or mute the thread https://github.com/notifications/unsubscribe-auth/AGQv-RD7neHTEs5vhoGOjWSwxlRtqWnIks5tbRrzgaJpZM4SVWnX .
See: https://github.com/boostorg/beast http://www.boost.org/doc/libs/1_66_0/libs/beast/doc/html/index.html