Posted By:
zhang_binbin
Posted On:
Thursday, September 27, 2001 07:11 PM
Hi,everybody.
I have a thead pool and a socket List.I want to know how to detect states of socket,such a socket is close,or has content in inputstream , So I can move it away from the Socket list ,or get a thread from the pool to service it.And also I can return the thread to pool if there's no input for a while.
But my problem is that
How can I detect the states of sockes in the socket List
Thanks in advance
Zhang binbin