use of com.tvd12.ezyfoxserver.client.socket.EzyMainEventsLoop in project ezyfox-server-example by tvd12.
the class SimpleChatClient method main.
public static void main(String[] args) throws Exception {
String host = "127.0.0.1";
int port = 3005;
if (args.length > 0)
host = args[0];
if (args.length > 1)
port = Integer.parseInt(args[1]);
SimpleChatClient client = new SimpleChatClient();
client.connect(host, port);
EzyMainEventsLoop mainEventsLoop = new EzyMainEventsLoop();
mainEventsLoop.start();
}
Aggregations