Websocket boost/beast example with client/server
Maybe somebody can provide simple example(or references) on how to setup client and server using websocket from boost/beast library? I need an example on how to handle input message on server and respond/not to it(such that client wont crush), how to send some data to specific “subscribed” connections and how to handle it on client side.
I found this example, but it doesn’t work as intended:
Client side:
Websocket boost/beast example with client/server
Maybe somebody can provide simple example(or references) on how to setup client and server using websocket from boost/beast library? I need an example on how to handle input message on server and respond/not to it(such that client wont crush), how to send some data to specific “subscribed” connections and how to handle it on client side.
I found this example, but it doesn’t work as intended:
Client side: