?? clientmain.java
字號:
package S7.A6;
import java.io.IOException;
import S7.A6.SocketClientThread;
import java.net.InetAddress;
public class ClientMain {
private static SocketClientThread[] scs = new SocketClientThread[10];
public static void main(String args[]) {
try{
InetAddress addr = InetAddress.getByName("localhost");
for(int i=0;i<10;i++){
scs[i] = new SocketClientThread(addr);
scs[i].start();
}
}catch(Exception e){
e.printStackTrace();
}
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -