1112131415161718192021
public static void main(String[] args) throws Exception { IoAcceptor acceptor = new DatagramAcceptor(); // Bind acceptor.bind(new InetSocketAddress( PORT ), new BasicHandler()); System.out.println( "Listening on port " + PORT ); }