input sream does not read the entire dat
when i read the response from the socket connection, it reads only the part of the response.
iS=soc.getInputStream();
BufferedInputStream bufIn = new BufferedInputStream(iS);
BufferedReader inp = new BufferedReader(new InputStreamReader(bufIn));
char[] res=new char[32000];
inp.read(res,0,res.length);
why it reads only a part of the response?

