class EchoServerUdp extends Thread {
  public void run() {
    UdpEchoServer.main(null);
    }
  }

public class EchoServer extends TcpEchoServer {
 public static void main(String [] args) {
   new EchoServerUdp().start();  // start UDP thread
   TcpEchoServer.main(args);
   }

 }
