ExternalProblem(Socket socket) throws IOException {
  this(socket.getInputStream(),socket.getOutputStream());
}

ExternalProblem ( Socket socket ) throws IOException { this ( socket . getInputStream ( ) , socket . getOutputStream ( ) ) ; }
constructs an external problem using the specified socket .
