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

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

XMLWordPrintable

    • beta
    • sparc
    • solaris_2.5



      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.
      ---------------------------------------------------------------------------

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: