package Ex6.main; import java.io.IOException; import java.net.Socket; public class App { /** * Run this to launch the server and immediatly connect to it with a CLI Client. */ public static void main(String[] args) throws IOException { final int port = 6666; System.out.println("Launching server ..."); Serveur serveur = new Serveur(port); System.out.println("Connecting client1 ..."); Client client1 = new Client(new Socket("localhost", port)); } }