I have a project in JAVA, in which i bind tcp sockets in specific ports.
When i call the close() method for a socket bind on port X, i cannot bind a new socket on port X for a few seconds, although i have called the close() method. But after a few seconds it is ok to bind.
Is this normal to be happening? Or should I check my code again?