liquidchen wrote:
So, if I just want to control the max connection number to the remote site, what will be the best solution to do this?? Use IoFilter to control it?? But I dont want to close new incoming connection if max connection number reach, I just want to block it to wait connection release for a while, thanks for any suggestion...
Could you just use java.util.concurrent.Semaphore? -Mike
