ok, now I feel dumb. The solution was to change
websocket_client client();
to
websocket_client client;
I guess the cpp skills are a little rusty. Too much time in the C world I guess.
I know I need to wait for the async tasks to complete.
websocket_client client();
to
websocket_client client;
I guess the cpp skills are a little rusty. Too much time in the C world I guess.
I know I need to wait for the async tasks to complete.