dhbaird / easywsclient

A short and sweet WebSocket client for C++
MIT License
741 stars 205 forks source link

Notifications from the server are not received #99

Closed janboelke closed 1 year ago

janboelke commented 1 year ago

I tried the following steps:

Run websocket.poll(0) in an infinite loop without having sent something first. Send messages from the server side to the client. Those notification messages those messages never appear in the client.

When I send a request from the client first, I get the response from the server correctly. How would the usage pattern of such a scenario look like or is there support missing in the easywsclient?

I also validated that my server actually sends the messages by using wscat.

Best regards, Jan

janboelke commented 1 year ago

Seems I had some weird error in my setup. Cannot reproduce it anymore. Will come back if I see issues again. Thanks