I see that there is not a Socket.Connected property in TinyClr.Networking as there is in .net core, without it, how does one detect if the socket is connected after Socket.Connect or if it has timed out?
I have an intermittently available server so I would like to do something equivalent to:
I noticed that connect happens in a a few hundred milliseconds if a server is listening so tried to connect on timed thread but got exception in Socket::Connect
I DID get timed thread to work! I was originally running my main loop in a secondary thread. When I moved it to the main thread, it started working !!! … Here is the final code:
…will give it a try… thanks for all of your help!
TinyClr is awesome. So is the Fez Duino… Really fun (and fast!) to develop embedded in the very robust Visual Studio tool chain. Hard to beat native debugging, nuGet, GitHub repositories + change management, intellicode and all the rest of the the other available goodies …