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

DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded

XMLWordPrintable

    • b27
    • Not verified

        Currently, the javadoc for `DatagramSocket.connect` doesn't specify that it may cause datagrams in the socket receive buffer that have not been received (by calling receive) to be discarded. That may happen with the DatagramSocket adaptor returned by `DatagramChannel::connect`, and also with the new implementation proposed by JEP 373.

              pconcannon Patrick Concannon (Inactive)
              pconcannon Patrick Concannon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: