public void onAccept(TCPServerLoop l, ServerSocketChannel ssc, SocketChannel sc) { l.createTCPClient(new Client(), sc); }
static void server() { TCPServerLoop loop = new TCPServerLoop(); loop.start(); loop.createTCPServer(new Server(), new InetSocketAddress(4321)); }