2012年8月28日
摘要: 首先在Java se平台上新建一个Socket服务端:public static void main(String[] args) {try {ServerSocket ss = new ServerSocket(8888);System.out.println("Listening");while(true) {Socket socket = ss.accept(); //获取连接的Socket对象System.out.println("Wati!Client Connected...");DataOutputStream dout = new Dat 阅读全文
posted @ 2012-08-28 09:14 Code大蛇丸 阅读(366) 评论(0) 推荐(0)