Socket 2019.3.27 2024.4.3 NetWork 196 1 分钟 #Socket ###使用TCP 客户端 Socket socket = new Socket("ip", 端口); InputStream is = socket.getInputStream(); DataInputStream dis = new DataInputStream(is); OutputStream os = socket.getOutputStream(); DataInputStream dos = new DataOutputStream(os); 服务器…… 阅读更多 »