package client; import client.log.EventLogger; import client.net.Client; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static EventLogger console; public static void main(String[] args) { System.out.println("Client!"); console = new EventLogger(System.out); Client c = new Client("localhost", 5000); BufferedReader r = new BufferedReader(new InputStreamReader(System.in)); while (true) { try { c.write(r.readLine().getBytes()); } catch (Throwable e) { e.printStackTrace(); } } } }