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

The AvailablePortFinder is overly complex

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.6, 3.0.0-M1
    • Component/s: None
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              elecharny Emmanuel Lecharny
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: