登录
首页 » c » winpcap获取设备信息代码

winpcap获取设备信息代码

于 2022-01-24 发布 文件大小:1.13 kB
0 111
下载积分: 2 下载次数: 1

代码说明:

有关这段程序的一些说明: 首先pcap_findalldevs()同其他的libpca函数一样有一个errbuf参数,当有异常情况发生时,这个参数会被PCAP填充为某个特定的错误字串。 再次,UNIX也同样提供pcap_findalldevs()这个函数,但是请注意并非所有的系统都支持libpcap提供的网络程序接口。所以我门要想写出合适 的程序就必须考虑到这些情况(系统不能够返回一些字段的描述信息),在这种情况下我门应该给出类似"No description available"这样的 提示。 最后结束时别忘了用pcap_freealldevs()释放掉内存资源。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 弹性力学讲义
    说明:  固体力学的重要分支,它研究弹性物体在外力和其他外界因素作用下产生的变形和内力,又称弹性理论。它是材料力学、结构力学、塑性力学和某些交叉学科的基础,广泛应用于建筑、机械、化工、航天等工程领域。(An important branch of solid mechanics, it studies the deformation and internal force of elastic objects under the action of external forces and other external factors, also known as elastic theory. It is the basis of material mechanics, structural mechanics, plastic mechanics and some interdisciplinary subjects, widely used in construction, machinery, chemical industry, aerospace and other engineering fields.)
    2020-03-31 15:19:10下载
    积分:1
  • QT编写的组态源码
    文中包含了程序的源码,可以使用qt creator编译。
    2016-11-22下载
    积分:1
  • 演示的是3个蓝色LED(LED1-LED3) 轮流闪烁
    演示的是3个蓝色LED(LED1-LED3) 轮流闪烁
    2022-01-31 12:09:42下载
    积分:1
  • guass_call_c
    说明:  光斑聚集的C++程序调用,以前MATLAB计算要15分钟,现在只要3分钟就可以算完。运算超快。(Gathering spot called C++ program, MATLAB calculations to 15 minutes, now only 3 minutes. Ultrafast operation.)
    2011-04-13 17:29:36下载
    积分:1
  • load
    CodedUITest来实现自动化测试,脱离vs独立运行。(CodedUITest for test)
    2017-05-04 10:36:34下载
    积分:1
  • can入门教程
    can基础知识,基本教程,适用于初学者开发(Can basic knowledge, basic tutorials, for beginners)
    2020-06-21 18:40:02下载
    积分:1
  • openclosetime
    读取系统日志,获取开关机时间之后做计算工时(After reading hours to do the calculation system logs for switch time)
    2014-07-15 11:00:45下载
    积分:1
  • slurceWorldcode
    奇迹世界服务端源代码,有兴趣的可以研究研究(Wonder World server source code, interested in studying)
    2019-04-07 07:10:53下载
    积分:1
  • 共轭梯度法C++
    说明:  运筹学中的问题求解,使用共轭梯度法来求最优解(Solving problems in operations research, using conjugate gradient method to find the optimal solution)
    2020-06-23 21:20:01下载
    积分:1
  • Tx
    说明:  PIC18F46K22 MASTER SAMPLE C CODE
    2018-02-16 15:14:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载