5 Replies Latest reply: Jul 18, 2007 8:44 PM by EJP RSS

    how to terminate a thread ....

    807600
      hi friends,
      I am developing a simple client server program that handles multiple clients at a time.In my program i have a class "cread" that extends Thread.The class is used to read from the client on a socket "S" with separate read thread for each client.Now i want to terminate the "cread" thread whenever the client log outs so that i could free up the socket and make it available to be used again.
      So how should i be carrying this out..............