摘要:
@@@基于UDP的客服端代码 public class Service { // 服务器 public static void main(String[] args) { DatagramPacket dp = null; //打包 和 拆包数据 DatagramSocket ds = null; 阅读全文
posted @ 2016-12-06 10:49
anta21
阅读(127)
评论(0)
推荐(0)
摘要:
//服务器端代码 public class Service { //服务器 public static void main(String[] args) { ServerSocket serverSocket=null; Socket socket=null; try { //创建一个超市 serv 阅读全文
posted @ 2016-12-06 10:45
anta21
阅读(209)
评论(0)
推荐(0)
摘要:
public class Dom4jTest { // Dom4j解析xml // 因为所有的方法都需要Dom树 static Document document = null; static Element root = null; public static void main(String[] 阅读全文
posted @ 2016-12-06 10:37
anta21
阅读(111)
评论(0)
推荐(0)

浙公网安备 33010602011771号