24252627282930313233
sm.run(); } public ServerMain(int port) { this.port = port; gui = new ServerGUIMain(); sockets = new ArrayList<ClientWrapper>(); sa = new SocketAcceptor(port, this); sa.run(); }