Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-839

The AvailablePortFinder is overly complex

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.4
    • 2.0.6, 3.0.0-DEAD
    • None
    • None

    Description

      We have a helper method that returns an availble port, doing a loop. This is probably overly complex, when a simple call to :

      new ServerSocket( 0 ).getLocalPort()

      will return the first available port.

      Attachments

        Activity

          People

            Unassigned Unassigned
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: