会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
archur_code
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2014年9月27日
java UDP通信
摘要: 服务器端:public class UDPServer{public static void main(String[] args) throws Exception{byte buf[] = new byte[1024];DatagramPacket dp = new DatagramPacket...
阅读全文
posted @ 2014-09-27 22:31 archur_code
阅读(225)
评论(0)
推荐(0)
编辑
java TCP通信
摘要: 服务器端:public class TCPServer{ public static void main(String[]args){ ServerSocket ss = new ServerSocket(6666); while(true){ Socket s = ss.a...
阅读全文
posted @ 2014-09-27 22:27 archur_code
阅读(177)
评论(0)
推荐(0)
编辑
公告