Interface DatagramSocketProvider

    • Method Detail

      • openDatagramSocket

        DatagramSocket openDatagramSocket()
                                   throws IOException
        Return a new DatagramSocket.
        Returns:
        the DatagramSocket
        Throws:
        IOException - if an I/O related error occurs
      • openMulticastSocket

        MulticastSocket openMulticastSocket()
                                     throws IOException
        Return a new MulticastSocket.
        Returns:
        the MulticastSocket
        Throws:
        IOException - if an I/O related error occurs
      • isSecure

        boolean isSecure()
        Return true iff the provider returns sockets which are secured, for instance by TLS.
        Returns:
        true iff the provider returns secured sockets