protected synchronized void create() throws SocketException {
  ResourceManager.beforeUdpCreate();
  fd=new FileDescriptor();
  try {
    datagramSocketCreate();
  }
 catch (  SocketException ioe) {
    ResourceManager.afterUdpClose();
    fd=null;
    throw ioe;
  }
}

protected synchronized void create ( ) throws SocketException { ResourceManager . beforeUdpCreate ( ) ; fd = new FileDescriptor ( ) ; try { datagramSocketCreate ( ) ; } catch ( SocketException ioe ) { ResourceManager . afterUdpClose ( ) ; fd = null ; throw ioe ; } }
creates a datagram socket
