Rename find functions #1

baalexander opened this Issue Aug 31, 2011 · 1 comment


None yet

1 participant


Rename findAPortInUse and findAPortNotInUse.

The new names should be unambiguous and easy to type and follow the same tense/grammar. The name should not use 'open' or 'closed', as something like findAnOpenPort could imply an available port or a port with status 'open' (in use).

Current candidates:

findAnAvailablePort (findAFreePort seems ambiguous)


I wrote this issue a while ago. There's enough people using portscanner now, that changing the API for a minor name change does not seem worth it.

@baalexander baalexander closed this Feb 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment