code: public void sendAuditEvent(AuditEventMessage[] msgs, InetAddress destination, int port) throws Exception 
  	{
          if (!EventUtils.isEmptyOrNull(msgs)) {
      		// Check to validate port
      		int portToUse = getTransportPort(port);
          	
          	DatagramSocket socket = new DatagramSocket();
  
      		for (int i=0; i<msgs.length; i++) {
      			byte[] msgBytes = getTransportPayload(msgs[i]);
      			send(msgBytes, socket, destination, portToUse);
      		}
             socket.close();
          }
  	}
docs: /* (non-Javadoc)
  @see org.openhealthtools.ihe.atna.auditor.sender.AuditMessageSender#sendAuditEvent(org.openhealthtools.ihe.atna.auditor.events.AuditEventMessage[], java.net.InetAddress, int)