Comments (2)
I observed the same behavior.
Question is does such a case really happen running in a data center?
One could also handle socket states with systemd running on debian..
from ccapi.
As far as I know, tcp, http, and websocket levels don't have mechanisms to "trigger" something when a disconnect happens. For websocket, we can test whether a connection is broken or not by using ping/pong. You can change the ping/pong intervals here: https://github.com/crypto-chassis/ccapi/blob/develop/include/ccapi_cpp/ccapi_session_options.h.
from ccapi.
Related Issues (20)
- Cannot establish connection with api.binance.com:443 HOT 1
- comile source code example with boost_beast failed (bind_front_wrapper) HOT 1
- Missing #include <iterator>, missing move constructor, missing move-assignment operator HOT 1
- bitget subscribes to the ORDER_UPDATE channel for question HOT 3
- MARKET_DEPTH in kucoin futures question HOT 1
- A way to get a complete list of symbols on any exchange HOT 5
- no correlation Id returned by event notifying orderbook subscription with Gate.io HOT 2
- segmentation fault, wsConnectionPtr null pointer in onPongByMethod HOT 1
- confusion about postProcessMessageMarketDataEventTrade in event_handler_base.h? HOT 1
- About interface synchronization request method HOT 1
- Question HOT 4
- few subscriptions methods fail HOT 3
- add_compile_definitions(CCAPI_LAST_PRICE="d") HOT 1
- updates the bitget API from v1 to v2
- few issues with some exchanges HOT 1
- expose setTimer to python HOT 4
- I am facing this issue while using code 1
- Binance Websocket API
- random crash from ccapi_session HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccapi.