The list of unused ports in lind_net_calls.py is not updated. This means concurrent connects might fail. Also, port reuse is not possible. I think I fixed some of this.
However, when a socket is closed it is not added into the pool again. There might be other places where these lists are not looked at correctly either.
Close must be updated, ideally, someone looks at these port lists in more detail to make sure they are being used correctly.
The list of unused ports in lind_net_calls.py is not updated. This means concurrent connects might fail. Also, port reuse is not possible. I think I fixed some of this.
However, when a socket is closed it is not added into the pool again. There might be other places where these lists are not looked at correctly either.
Close must be updated, ideally, someone looks at these port lists in more detail to make sure they are being used correctly.