Ok I already have a simple tcp between one client and a server. Now what I need to do is have the same tcp client program, but now on the server program I need to implement code where if server serve one is down connect the client to server two. And let sever two do what server one was supposed to do. I have look for some examples on google but with no luck. Any ideas on what functions to use or sudo code?