hi
what i want to do is to create to start 2 tread of server in my class main server....
and each class server start a
thread for each connection...
example server1 start with port 4444 and server2 with port 4445
all client connect to server1 except if the server is down...
my code
ServerMain class
Server class
client class
i need to add function to be able to try during 10 second to connect to server 1(4444).... i the server don't respond... i try to connect to server2 (port 4445)
i start ServerMain
and after i start i client
the server write a lot of:
connexion successfull...
any idea?
thanks