Perhaps this will help. Here is my test script:
public static void main(String args[]){
Thread t = new Thread(new Runnable() {
public void run() {
new...
Type: Posts; User: Norm
Perhaps this will help. Here is my test script:
public static void main(String args[]){
Thread t = new Thread(new Runnable() {
public void run() {
new...
I think your problem is an inconsistency between the sending of the message and the reading of the message:
This reads the message. Read the API doc for what this method does:
while ((inputLine =...
Why do you need a server to test this? I think there is a much simpler way to test the socket and I/O classes you are using.
The zips you posted didn't have the source for the Client class.
Is a server necessary for testing? Can it be done with a local client class?
That sounds like something is blocking.
How can anyone test your code? Do you have a client and a testing script/program?
How can anyone test your code?
What I'd do to find the problem is add lots of println statements to show the execution flow and to show the values of variables as they change. The print outs will help you understand what the code...