I am blocked in my project because of an issue while using
websockets.
I can simplify my problem like :
auto ws_url =
URL("wss://stream.binance.com:9443/ws/ethbtc@aggTrade");
auto ws = connectWebSocket(ws_url);
if ( !ws.connected )
return;
sleep(2.seconds);
ws_url = URL("wss://stream.binance.com:9443/ws/iotabtc@depth");
auto ws2 = connectWebSocket(ws_url);
if ( !ws2.connected )
return;
If I don't close the first socket before opening the second one I
am getting two different exceptions which can be seen in my
question which I already ask in vibe.d's forum :
https://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/52273/
Since I am blocked I am open to any suggestions. Or if some one
knows an alternative socket implementation I may have to switch
to another library.
So do you guys have any suggestions or an alternative library for
socket handling?
Erdem