Module java.base
Package java.net

# Class DatagramSocketImpl

=
public abstract class DatagramSocketImpl
extends java.lang.Object
implements java.net.SocketOptions

## Fields

- =
  protected java.io.FileDescriptor fd
- =
  protected int localPort

## Constructors

- =
  public DatagramSocketImpl()

## Methods

- =
  protected abstract void bind(int arg0, java.net.InetAddress arg1) throws java.net.SocketException
- =
  protected abstract void close()
- =
  protected void connect(java.net.InetAddress arg0, int arg1) throws java.net.SocketException
- =
  protected abstract void create() throws java.net.SocketException
- =
  protected void disconnect()
- =
  protected java.io.FileDescriptor getFileDescriptor()
- =
  protected int getLocalPort()
- =
  protected <T> T getOption(java.net.SocketOption<T> arg0) throws java.io.IOException
- =
  @Deprecated(forRemoval=truesince="1.2")
  protected abstract byte getTTL() throws java.io.IOException
- =
  protected abstract int getTimeToLive() throws java.io.IOException
- =
  protected abstract void join(java.net.InetAddress arg0) throws java.io.IOException
- =
  protected abstract void joinGroup(java.net.SocketAddress arg0, java.net.NetworkInterface arg1) throws java.io.IOException
- =
  protected abstract void leave(java.net.InetAddress arg0) throws java.io.IOException
- =
  protected abstract void leaveGroup(java.net.SocketAddress arg0, java.net.NetworkInterface arg1) throws java.io.IOException
- =
  protected abstract int peek(java.net.InetAddress arg0) throws java.io.IOException
- =
  protected abstract int peekData(java.net.DatagramPacket arg0) throws java.io.IOException
- =
  protected abstract void receive(java.net.DatagramPacket arg0) throws java.io.IOException
- =
  protected abstract void send(java.net.DatagramPacket arg0) throws java.io.IOException
- =
  protected <T> void setOption(java.net.SocketOption<T> arg0, T arg1) throws java.io.IOException
- =
  @Deprecated(forRemoval=truesince="1.2")
  protected abstract void setTTL(byte arg0) throws java.io.IOException
- =
  protected abstract void setTimeToLive(int arg0) throws java.io.IOException
- =
  protected java.util.Set<java.net.SocketOption<?>> supportedOptions()

## Summary

No differences.