|
12345678910111213141516171819 |
- package xyz.nextn;
-
- public class Main {
-
- public static void main(String[] args) {
- Server server = new Server(1111);
- new Thread((Runnable) server).start();
- System.out.println("i kau nixx!!");
- try {
- Thread.sleep(20 * 1000);
- } catch (InterruptedException e) {
- e.printStackTrace();
- }
- System.out.println("Stopping Server");
- server.stop();
-
-
- }
- }
|