| Author |
Socket read and print problem
|
Lilly Wang
Greenhorn
Joined: Jul 12, 2002
Posts: 4
|
|
I have some problems in socket read and print. Here is the scenario: Class Test1 has a server socket, whenever it receives call, it passes it to class Test2 (whcih is a thread class) to handle. Class Test3 is used to send message to the ServerSocket sitting in Test1. When I use the for loop in Test2 to the print, it won't work.
|
 |
Lilly Wang
Greenhorn
Joined: Jul 12, 2002
Posts: 4
|
|
Continue: e.g. In Test2, when I use: for( int i=0; i<5; i++ ) { out.println("Testing"); out.println("Again"); } It won't send over to Test3. Why? Thanks!
|
 |
 |
|
|
subject: Socket read and print problem
|
|
|