|
You can try putting some System.out.println to test if the program enters your loops!
Also make sure that the socket connection is working. In these code segments, i did not see any mistakes. I think you should try to find the error by checking which steps are performed as expected and which are not. You can find the error in that way..
|