autobahn-cpp icon indicating copy to clipboard operation
autobahn-cpp copied to clipboard

detect WampRouter disconnect

Open Chrischhan opened this issue 8 years ago • 0 comments

Hi

i have an app that connects with wamp_tcp_transport to an Crossbar router. I want to detect if the router is disconnected ( connection lost from router shutdown).

at the moment the app thinks that the socket is still connected.

How can i manage that or is the errorhandling in wamp_rawsocket_transport missing (check there for ie boost::asio::error::connection_reset and close socket?)

Chrischhan avatar Jul 11 '17 12:07 Chrischhan