Closed Ifilehk closed 1 year ago
Back again :-)
Having trouble to catch Network is unreachable exception.
Network is unreachable
As I can see _abortHandshake(DtlsException("Network is unreachable")); it is treated as DtlsException and I am not managing to catch it.
_abortHandshake(DtlsException("Network is unreachable"));
Would it not be preferable to throw it as a SocketException like thrown by the underlying system?
Oh, sorry, that was a mistake from my side 😅 I opened #72 as a fix and will release a new version shortly :)
Just release version 0.14.1 with the fix, sorry for the inconvenience!
No problem :-)
Back again :-)
Having trouble to catch
Network is unreachable
exception.As I can see
_abortHandshake(DtlsException("Network is unreachable"));
it is treated as DtlsException and I am not managing to catch it.Would it not be preferable to throw it as a SocketException like thrown by the underlying system?