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

Socket spec doesn't specify setSolinger behavior for non-stream sockets

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      sparc
    • OS:
      solaris_2.5

      Description



      Name: yyC67448 Date: 09/10/98



      The spec for method java.net.Socket.setSoLinger(boolean, int) says
      nothing about methods behavior in case of datagram sockets.
      ( see Bug 4129952 )

      The spec for java.net.Socket.setSoLinger says:
      ---------------------------------------------------------------------------
      public void setSoLinger(boolean on,
                              int linger)
                      throws SocketException

      Enable/disable SO_LINGER with the specified linger time in seconds.
      If the specified timeout value exceeds 65,535 it will be reduced to 65,535.
      ---------------------------------------------------------------------------

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jhosunw Jamie Ho (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: