easywsclient icon indicating copy to clipboard operation
easywsclient copied to clipboard

A short and sweet WebSocket client for C++

Results 40 easywsclient issues
Sort by recently updated
recently updated
newest added

I'm trying to subscribe to the following stream url. ```sh $ wsta wss://stream.binance.com:9443/ws/bnbbtc@depth Connected to wss://stream.binance.com:9443/ws/bnbbtc@depth {"e":"depthUpdate","E":1522849782404,"s":"BNBBTC","U":56348828,"u":56348828,"b":[["0.00177540","205.23000000",[]]],"a":[]} {"e":"depthUpdate","E":1522849783404,"s":"BNBBTC","U":56348829,"u":56348829,"b":[["0.00176290","0.00000000",[]]],"a":[]} # . . . ``` I keep hitting [this line](https://github.com/dhbaird/easywsclient/blob/9b87dc488048900a8cd684f51ddc98143682dbc3/easywsclient.cpp#L457) when trying...

A failed connection is normal (more likely a connectivity issue than programming error) so the library should avoid logging. A real app needs to handle connectivity issues and periodically retry...

Rather than have easywsclient depend directly on a specific socket implementation, instead inject the socket implementation. Reasons why this is needed: 1. Platform support (currently resolved by using macros). Dependency...

If the poll() function is called by multithread while an other thread is "masking" the data are send only masked on the first bytes and the sendData() function crashes. workoround...

Hi, is there way to handle onClose, onError ? i would like to reconnect in case of onClose, onError. thanks

if I call "from_url" whith a non exist ip adress, it will block in easyclient.cc:102. more than two minutes!

Cover TinyThread++, Boost.Thread, (Intel TBB? std::thread?).

Hi all, I just want to know, can we implement OAuth in websockets ?. If so how can we do this to make web sockets more secure. If anybody has...

Hi, I am using this lib to connect to a websocket. I am getting duplicate messages sometimes, and I don't think the problem is the socket source (who sends the...

Hi, It seems that when I close a socket I get an PSH ACK (acknowledgement) packet (after the fact) that isn't handled and then the router issues a RST packet....