随笔 - 354  文章 - 11  评论 - 18  阅读 - 37万
  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大蛇丸 阅读(360) 评论(0) 推荐(0) 编辑
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示