日期:2014-05-19 浏览次数:20724 次
SSLSocket socket = (SSLSocket) serverSocket.accept();//接受信息包 InputStream input = null; OutputStream output = null; BufferedReader bis = null; PrintWriter bos = null; input = socket.getInputStream(); output = socket.getOutputStream(); bis = new BufferedReader(new InputStreamReader(input,"utf-8")); bos = new PrintWriter(new BufferedWriter(new OutputStreamWriter(output, "utf-8")));