}
// 发送UDP数据
private void sendUdpData(String hostName, String ip, String targetIp,
String message, int tag, int port) {
DataPacket dp = new DataPacket(ip, hostName, message, tag);
DatagramSocket socket = null;
try {
socket = new DatagramSocket();
NetDomain.sendUdpData(socket, dp, targetIp, port);
} catch (SocketException e) {