Need to check whether socket has been established. If then to start thread depending on whether the socket is good or not. Do the same for the startup reconnect and the menu reconnect. If you lose a connection kill thread.
Log in to post a comment.