java获取网卡信息
importjava.net.InetAddress;
importjpcap.*;
importjpcap.packet.EthernetPacket;
importjpcap.packet.IPPacket;
importjpcap.packet.UDPPacket;
classSendUDP
{
publicstaticvoidmain(String[]args)throwsjava.io.IOException{
NetworkInterface[]devices=JpcapCaptor.getDeviceList();
if(args.le
用户评论
retrieve4077 2020-05-19 05:41:51
资源挺不错的