- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to detect if the ethernet cable has been pulled off.
To the part where the code says, that the connection could not be established, I put reset_connection(); This works during the menue is shown in the telnet window. But if a task like the "Toggle boards LED" has been started and one pulls off the cable, connection cannot be reestablished. It seems as the system is "blocking". Using the debugger does not show a reason for this. How can one catch this exception, so the system can be connected again with telnet? My idea was using a getnameofpeer-function. Thanks in advance for your help. andy.Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page