userHandler[i] = new UserHandler(clientSock); threads[i] = new Thread(userHandler[i]); threads[i].start();