|
See why its printing garbage integer when what is sent is int 99.
garbage numbers is random integer eg 2343123 , 144324, 13243, 2241412
yes. i use println() to print out the numbers received. that is why i know there are garbage numbers received.
line 359 on the client prints it
System.out.println("testing la "+sadsad);
it should print "testing la 99" but instead its printing "testing la 112324"
server output would be
singleOrMulti(2)2
showOrNot(1)1
99
test1
test2
show or not = 1
multi from cl 2(2) = 2
99
test1
test2
Test send message
message sent //denotes message was sent but client never receive it
The secret pattern is : (4 rand nos)
Client 1 output
session = 1
testing la 10324 //garbage instead of 99
Test get message //and hangs
Client 2 output
session = 2
can see sess2 (1) = 1
testing la 10378 //garbage instead of 99
Test get message //and hangs
Last edited by kellaw : 10-03-2008 at 06:53 PM.
|