Why don't ppl use threads for serversockets? They place them in main and any
such places. Are there any drawbacks to this?



listenSocket = new ServerSocket(port);
while(true) {
Socket clientSocket = listenSocket.accept();

etc.
}