setReuseAddress()method for DatagramSocket is not working

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • beta
    • sparc
    • solaris_8
    • Verified

      when i try to call this method "setReuseAddress(true)":

      i get the following error:

      java.net.SocketException: bad argument for SO_REUSEADDR
      java.net.SocketException: bad argument for SO_REUSEADDR
              at java.net.PlainDatagramSocketImpl.setOption(PlainDatagramSocketImpl.java:189)
              at java.net.DatagramSocket.setReuseAddress(DatagramSocket.java:777)
              at udpServer.<init>(udpServer.java:102)
              at udpServer.main(udpServer.java:59)

            Assignee:
            Jean-Christophe Collet (Inactive)
            Reporter:
            Sriramulu Lakkaraju (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: