有高手可以帮我写一写,服务器邓注释吗?
import java.net.*;
import java.io.*;
class ServerPoint extends Thread{
static int SERVERPORT=8088; //这个代表什么?
private Socket client;
public static int i=0;
public static String[] vct=new String[10];
public ServerPoint(){}
public void run(){
ClientThread.log( "服务器端程序启动... ");
try{
ServerSocket server=new ServerSocket(SERVERPORT);
while(true){
client=server.accept();
ClientThread ct=new ClientThread(client);
ct.start();
}
}catch(Exception e){
e.printStackTrace();
ClientThread.log( "服务器端程序关闭。。。 ");
System.exit(0);
}
}
public static void main(String[] args){
ServerPoint sp=new ServerPoint();