发送Udp请求 UdpClient 工具类
public class UdpClient { private static DatagramSocket socket; /** * 发送消息 * * @param ip * @param port * @param data * @return * @throws IOException */ public static byte[] send(String ip, int port, by.