Module java.base
Package java.net

# Interface DatagramSocketImplFactory

public interface DatagramSocketImplFactory
This interface defines a factory for datagram socket implementations. It is used by the classes `DatagramSocket` to create actual socket implementations.

Since:
  1.3
See Also:
  - `DatagramSocket`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `DatagramSocketImpl`
  `createDatagramSocketImpl()`
  Creates a new `DatagramSocketImpl` instance.

- ## Method Details

  - ### createDatagramSocketImpl

    DatagramSocketImpl createDatagramSocketImpl()
    Creates a new `DatagramSocketImpl` instance.
    Returns:
      a new instance of `DatagramSocketImpl`.
    See Also:
      - `DatagramSocketImpl`