craigerl / ygate

Turn your Yaesu APRS radio into an igate. By KM6LYW.
28 stars 9 forks source link

The reset_socket() method try may fail and still recoverable. #14

Closed john-belstner closed 3 months ago

john-belstner commented 4 months ago

In some cases, when remote server forces a disconnect, the socket is closed already. Failing the try/catch in reset_socket() is not terminal and the state machine can successfully reconnect.

I've had my ygate running for just over two months 24/7. This minor update increases robustness and allows for auto recovery of the only unrecoverable error I've seen in that time.