摘要: (一)UDP入门通信: 发送和接收数据报包的套接字:Class DatagramSocket 代表一个数据报包:Class DatagramPacket 1、UDP的三种通信方式 单播:单台主机与单台主机之间通信。 (1)UDP入门通信 Client: DatagramSocket socket = 阅读全文
posted @ 2022-04-03 23:49 Shuranima 阅读(63) 评论(0) 推荐(0)
摘要: commons-io工具包的基本使用:https://blog.csdn.net/backbug/article/details/99572931 阅读全文
posted @ 2022-04-03 21:01 Shuranima 阅读(24) 评论(0) 推荐(0)
摘要: (一)Class File 1、构造方法 File(String pathname) Creates a new File instance by converting the given pathname string into an abstract pathname. 2、方法 (1)获取信息 阅读全文
posted @ 2022-04-03 02:03 Shuranima 阅读(103) 评论(0) 推荐(0)