Hi Guys,
Is there an easy(ish) way to query a socket and see if its connected, or disconnected? I need to setup a quick routine that queries if the socket is opened, if yes it continues, I only really need it to return a boolean - True - Connected, False - Disconnected, by the same token I dont really want to try to reconnect blindly as that will trigger my try catch and stop the progress, nor do I want to send any data to the socket, as I dont really want the app at the other end thinking it needs to do something...
Is this possible?
Is there an easy(ish) way to query a socket and see if its connected, or disconnected? I need to setup a quick routine that queries if the socket is opened, if yes it continues, I only really need it to return a boolean - True - Connected, False - Disconnected, by the same token I dont really want to try to reconnect blindly as that will trigger my try catch and stop the progress, nor do I want to send any data to the socket, as I dont really want the app at the other end thinking it needs to do something...
Is this possible?