I’m using the Webserver example from the tinyCLR support webpage (GHI Electronics – Where Hardware Meets Software). It works fine, until I disconnect the ethernet cable and plug it back in. After plugging the cable back in I am able to ping the device but it does not open in the browser anymore. Now I believe that is is stuck in the blocking socket.accept method. So how do I get out of the socket.accept function to reset the socket?
Any help will be greatly appreciated.
EDIT: I’m using the EMX development kit.
maybe closing the socket and stopping the web server on the Network Down event…
or you can use the following web server, a lot of work went into this…
Welcome to the community!!!
Hey jay jay.
Thanks for the welcome. And thanks for the webserver link. very nice. works great.
you are welcome:
Mark the question as answered please … see image below:
I don’t have the checkbox icon. I have all the other icons though.
Can you post a screenshot of this thread?
Nobody’s gonna believe me. But the tick box is there now. I will mark it.
Edit: I figured out what went wrong. I was browsing the forum on my phone and looked for the icon on top of my original post. Because I was on the small phone display, I didn’t see the icon on all the replies to the post. So sorry, my bad.