Hi
To all is interesting I've found a solution seems not recommended but
working.
When opening a Socket set this:
tSocket.getSocket().setReuseAddress(true);
tSocket.getSocket().setSoLinger(true, 0);it's prevent to have a lot of connection TIME_WAIT state but not recommended.
