net-snmp库snmp API解读分析.docVIP

  • 50
  • 0
  • 约5.47千字
  • 约 6页
  • 2018-02-20 发布于河南
  • 举报
net-snmp库snmp API解读分析

导读 net-snmp API分为两种,一种叫传统API(Traditional API),一种叫单个API(Single API)。早期的neet-snmp没有考虑到多线程的问题,所有的会话共享同一个资源,这些就是传统API,后来支持多线程的就叫做单个API。详细的内容在源码根目录下的README.thread文件里有详细介绍,这里贴出一部分关键内容。 The functions in the following table are functionally equivalent, with the exception of these behaviors: - The Traditional API manages many sessions - The Traditional API passes a struct snmp_session pointer, ?????? and touches the Sessions list - The Single API manages only one session - The Single API passes an opaque pointer, and does not use Sessions list ? ? Traditional??????? Single??????????????????? Comment ?

文档评论(0)

1亿VIP精品文档

相关文档