16 lines
412 B
Java
16 lines
412 B
Java
import client.ClientConsole;
|
|
|
|
import java.net.InetSocketAddress;
|
|
|
|
public class ChatAppClient {
|
|
public static void main(String[] args) {
|
|
ClientConsole console = new ClientConsole(new InetSocketAddress("localhost", 6665));
|
|
try {
|
|
console.joinThread();
|
|
} catch (InterruptedException e) {
|
|
e.printStackTrace();
|
|
}
|
|
System.out.println("End !");
|
|
}
|
|
}
|