Please, I need your help urgently. my email is [deleted]@[no need to know].com
I think my problem should be an issue with thread. I have about five threads running at the same time and all five doing similar processing (i:e Listening on a port, receiving data etc.).
but when 1 of the thread receives data and start processing it, 1 of the thread stops running while the rest are still active and running.
The codes are much that's why I didnt post it. Actually I have 5 different modules in different threads. each of the module is listening on a port for in coming connection request and also checking the arrival of data on those ports. 1 thread handles TEXT messages, process and distributes it to clients. Then another thread handles in coming documents, then pass it to a subroutine that writes the file on the server pending a clients request for the doc. but as soon as that routine (document routine) is called, the thread for text messages stops running or processing. that means, that no client can communicate any more.
the code is a little bulky, that was why i removed it.