NIODatagramSocket socket = (NIODatagramSocket) ((DatagramChannelImpl) ch).socket(); return socket.getPlainDatagramSocketImpl().getNativeFD();
try { return ((DatagramChannelImpl) ch).getVMChannel().getState().getNativeFD(); } catch (IOException ioe) { throw new IllegalStateException(ioe); }
  public int getNativeFD()  {    NIODatagramSocket socket =      (NIODatagramSocket) ((DatagramChannelImpl) ch).socket();    return socket.getPlainDatagramSocketImpl().getNativeFD();  }