摘要: 1 import java.io.PrintWriter; 2 import java.net.ServerSocket; 3 import java.net.Socket; 4 5 public class Test { 6 public static void main(String[] args) throws Exception { 7 ServerSocket server = new ServerSocket(8888); 8 while (true) { 9 Socket s = server.accept();... 阅读全文
posted @ 2013-05-17 11:23 Levi_随云 阅读(192) 评论(0) 推荐(0) 编辑