Posted By: mail2techy |
6/2/2006 8:30:00 AM |
Reply To: retsuya who posted...
|
|
instead of doing this,
while(){
System.out.print((char)client.in.read());
}
do ,
volatile boolean flag = true;
char ch = 0;
while(flag)
{
ch = (char)client.in.read();
if(ch == 13)
flag = false;
System.out.println(ch);
}
i hope this should work
|
|