socket服务端:server1,server2,server3,server4
socket客户端:client1,client2,client3,client4
1.client1先调server1不通,进而试着调用server2,server2不通就调server3,server3不通就调用server4
2.client2先调server2不通,进而试着调用server1,server1不通就调server3,server3不通就调用server4
3.client3先调server3不通,进而试着调用server1,server1不通就调server2,server2不通就调用server4
4.client4先调server4不通,进而试着调用server1,server1不通就调server2,server2不通就调用server3
目的是当一个server服务端调不通,调用其它的,尽量避免失败!
简单的办法就不用说了,求妙招?
慕斯王
MM们
相关分类