cmatthew / Lind-misc

Misc files for the Lind project
3 stars 3 forks source link

Free ports list is not updated correctly #17

Closed cmatthew closed 12 years ago

cmatthew commented 12 years ago

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.

cmatthew commented 12 years ago

Fixed.