摘要:
Socket IO工具类:package com.test.util;import java.io.DataInputStream;import java.io.DataOutputStream;import java.io.IOException;import java.io.InputStream;import java.io.OutputStream;import java.net.Socket;public class SocketIO{ public static DataInputStream getInput(Socket socket) throws IOException{ 阅读全文