public SocketHandler(Socket sock,Server s) throws IOException {
  super();
  _input=sock.getInputStream();
  _output=sock.getOutputStream();
  _socket=sock;
  _server=s;
  setup(this,_input);
}

public SocketHandler ( Socket sock , Server s ) throws IOException { super ( ) ; _input = sock . getInputStream ( ) ; _output = sock . getOutputStream ( ) ; _socket = sock ; _server = s ; setup ( this , _input ) ; }
sets up a client communication on a given socket .
