I have the following scenario and currently there is a problem.
My Android tablet connects to a port on my windows pc and sends strings.Windows sends back a confirmation and everything works well so far.
But how can I check that the connection still exists before I send a message without the error "Broken pipe" appears so that I can try in this case to re-establish the connection now?
My Android tablet connects to a port on my windows pc and sends strings.Windows sends back a confirmation and everything works well so far.
But how can I check that the connection still exists before I send a message without the error "Broken pipe" appears so that I can try in this case to re-establish the connection now?