Server端程序:
import java.io.DataInputStream; public class FileUpLoadProjServer extends Thread { public FileUpLoadProjServer(Socket s, String c) throws IOException { public void run() { public static void main(String[] args) { while ((ch = in.read()) != -1) { |
Client端程序:
import java.io.DataOutputStream; public class FileUpLoadProjClient extends Thread { private Socket socket; void madetree(File dothis) { public void run() { public static void main(String[] args) throws IOException, } |