public TelnetTerminal acceptConnection() throws IOException {
  Socket clientSocket=serverSocket.accept();
  clientSocket.setTcpNoDelay(true);
  return new TelnetTerminal(clientSocket,charset);
}

public TelnetTerminal acceptConnection ( ) throws IOException { Socket clientSocket = serverSocket . accept ( ) ; clientSocket . setTcpNoDelay ( true ) ; return new TelnetTerminal ( clientSocket , charset ) ; }
waits for the next client to connect in to our server and returns a terminal implementation , telnetterminal , that represents the remote terminal this client is running . the terminal can be used just like any other terminal , but keep in mind that all operations are sent over the network .
