摘要: public class TCPTest { @Test public void client() { Socket socket = null; OutputStream os = null; try { //1.创建Socket对象,指明服务器端的ip和端口号 InetAddress inet 阅读全文
posted @ 2022-09-03 16:56 Mr_sven 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 建立连接 断开连接 阅读全文
posted @ 2022-09-03 13:43 Mr_sven 阅读(10) 评论(0) 推荐(0) 编辑