robertklep / nefit-easy-core

Core functionality to implementation communications with Nefit/Bosch backend.
MIT License
21 stars 4 forks source link

Handle (potential) TLS errors when running in server mode #2

Closed robertklep closed 8 years ago

robertklep commented 8 years ago

https://www.domoticz.com/forum/viewtopic.php?p=68553#p68553

Handle both client.connection.socket.on('error', ...) and client.on('error', ...) (move latter to top-level of lib, assume that any errors are unrecoverable and require reconnect). Use reconnect-core?

pepijng commented 8 years ago

Testing it right now