int len=in.read(buf);
s1=new String(buf,0,len);
//System.out.println("the following message comes from sender:\n+s");
System.out.println("the following message comes from sender:\n"+s1);
in.close();
}
catch(IOException e)
{
System.out.println(e.getMessage()+"aa");
}
}
}