hello,
this subject has been discussed many times in here, but a solution was
not found as far as could get to know. but perhaps newer developments of
java made one possible that i dont know of.
the problem is how i can read from multiple sockets without having to
create a new thread for each, which, i guess, affects the programms
performance if the number of connections to a server is very high.
would it practicable to use a thread that loops throug all open connections
and tests with the available() method if there is data that could be
read and then a worker thread can handle the rest? i dont know how effec-
tive the available method ist working, but i dont really think that this
is a serios possibility, is it?
so, can anyone give me a hint how to do this best?
max junker