MyEclipse2014-Patch.rar
本人尝试window64系统中进行破解,MyEclipse版本为myeclipse-pro-2014-GA-offline-installer-windows.exe;
本人尝试window64系统中进行破解,MyEclipse版本为myeclipse-pro-2014-GA-offline-installer-windows.exe;
编程演示三种存储管理方式的地址换算过程: 1、分页方式的地址换算 2、分段方式的地址换算 3、段页式的地址换算 要求演示正确、清晰,编程所用工具不限。这里用Java语言,工具为myeclipse,实现动画演示。
几个很小的socket程序(源码)给其中一个小例: package cn.com.socket; import java.io.*; import java.net.*; public class ServerSocketThread extends Thread{ private Socket socket; private DataInputStream din; private DataOutputStream dout; public ServerSocketThread(Socket s){ socket = s; try{ din = new DataInputStream(socket.getInputStream()); dout = new DataOutputStream(socket.getOutputStream()); start(); }catch(IOException e){ System.out.println(e.getMessage()); } } public void run(){ String str; try{ System.out.println("连接成功"); System.out.println("******************************"); System.out.println(""); System.out.println("请等待客户发送信息......"); while(true){ BufferedReader sin = new BufferedReader(new InputStreamReader(System.in)); System.out.println(""); System.out.println(""); str = din.readUTF(); System.out.println("从客户接受的信息为:"+str); if(str.trim().equals("BYE")) break; System.out.println("请输入您要发送的信息:"); str = sin.readLine(); dout.writeUTF(str); dout.flush(); if(str.trim().equals("BYE")) break; } din.close(); dout.close(); socket.close(); }catch(IOException e){ System.out.println("Error: " + e); } } }