if (server != null) {
while (!shouldStop) {
try {
Socket datasocket = server.accept();
TCPServer newSocket = (TCPServer) clone();
newSocket.server = null;
newSocket.data = datasocket;
newSocket.group = new ThreadGroup("Client Group " + groupNo++);
newSocket.runner = new Thread(newSocket.group, newSocket);
newSocket.runner.start();
} catch (Exception e) {}
}
} else {
run(data);
}