Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception handlers when the net interface goes down #1

Open
dugdmitry opened this issue Oct 18, 2016 · 0 comments
Open

Add exception handlers when the net interface goes down #1

dugdmitry opened this issue Oct 18, 2016 · 0 comments
Assignees
Labels

Comments

@dugdmitry
Copy link
Owner

When the network interface (eth0, wlan0, etc.) where a routing daemon is attached to, is going down, due to either system call or physical detach - the socket.send/recv calls crash.
Need to implement exception handlers in such cases - for example, when a net interface goes down - just don't send/recv anything during that moment.
When the net interface goes up again - reattach/rebind the socket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant