Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6978200

ServerSocket.toString include "port=0" in the returned String

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 8
    • 7
    • core-libs
    • None
    • b01
    • generic
    • generic
    • Verified

      Here's sample string return by ServerSocket.toString:

        "ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=7005]"

      Notice the "port=0" in the middle. A ServerSocket only has a local port.

            khazra Kurchi Subhra Hazra
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: