Socket编程适合Java初学者查看.zip
System.out.println正在启动服务器...System.out.println服务器端服务器等待正在接收信息ServerSocket serversocket null serversocket new ServerSocket8800Socket socket null int num0while true try num socket serversocket.accept ThreadTest tread new ThreadTest socket num tread.start System.out.println客户号num catch IOException e e.printStackTrace
用户评论