Changed description document

main
mike 2023-04-20 21:34:27 -04:00
parent 078a7f2b7a
commit ce814df02e
4 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,7 @@ package ca.cosc3p91.a4;
import ca.cosc3p91.a4.util.network.Client;
import java.io.*;
public class Main {
public class MainClient {
public static void main(String[] args) throws IOException {
new Client("localhost");

View File

@ -0,0 +1,11 @@
package ca.cosc3p91.a4;
import ca.cosc3p91.a4.util.network.Server;
import java.io.IOException;
public class MainServer {
public static void main(String[] args) throws IOException, InterruptedException {
new Server();
}
}

View File

@ -83,10 +83,6 @@ public class Server implements Runnable {
ioThread.join();
}
public static void main(String[] args) throws IOException, InterruptedException {
new Server();
}
public static class ConnectedClient implements Runnable {
private final InetAddress address;
private final int port;