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

Sockets can not successfully close one side while continuing to use the other

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 1.3.0
    • 1.1, 1.1.5, 1.1.6, 1.2.0, 1.2.1
    • core-libs
    • None
    • beta
    • generic, x86, sparc
    • generic, solaris_2.5.1, solaris_2.6, windows_nt

      Name: mc57594 Date: 02/28/97


      In attempting to implement the REXEC protocols, I need the ability to close the output side of a socket, while continuing to use the input side of the socket. In other words, closing the output side indicates to the rexec-ed process that EOF has been reached and input data is complete. However, when I close the output side, the input side of the socket is no longer functional.

      I need to be able to close one side of the socket, indicating EOF, while continuing to read input from the socket. If this is not clear, please consult documentation on the REXEC protocol.

      This is the third time I have reported this bug!
      company - ICE Engineering, Inc. , email - ###@###.###
      ======================================================================

      [ from bugid 4118429, db@eng, 10 March 1998 ]:

      The RFE is that since most "normal" sockets support the ability to
      close one side of the socket, but not the other (i.e. "normal" being
      "what you can do with the Berkeley C sockets API), so should Java
      sockets offer this feature.

      Lack of this functionality prevents certain kinds of application
      protocols from working. Specifically, ones which work to ensure
      delivery of all application data before terminating connections.

            gellisonsunw Gary Ellison (Inactive)
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: