I have a program that allows the user to choose a computer to connect to, if the specified computer doesn't accept the connection for whatever reason(it's not on, or whatever) a message box comes up saying so. that all works fine, but if the user tries to connect to a different computer, an error comes up saying, "Invalid operation at current state"
is there a way to reset whatever is causing the problem if the "not responding" error in the program comes up, so the user can try to connect to a differnet computer??