public TelnetTerminalServer(ServerSocketFactory serverSocketFactory,int port,Charset charset) throws IOException {
  this.serverSocket=serverSocketFactory.createServerSocket(port);
  this.charset=charset;
}

public TelnetTerminalServer ( ServerSocketFactory serverSocketFactory , int port , Charset charset ) throws IOException { this . serverSocket = serverSocketFactory . createServerSocket ( port ) ; this . charset = charset ; }
creates a new telnetterminalserver on a specific port through a serversocketfactory with a certain charset
