the method to get SOCKET HANDLE from Snmp
Frank Fock
Frank.Fock____t-online.de
Fri May 23 20:34:14 CEST 2003
You can subclass Snmp or use the Snmpx class
provided by AGENT++, which has a public method to
access the handle (Snmpx::get_session_fds())
Best regards,
Frank
zhengqiang 27012 wrote:
> Hello.
>
> The Snmp session class Snmp maintains the communication SOCKET. There is a
> "protected" member: iv_snmp_session, which holds the handle of socket.
>
> But without any method, we can not get this handle.
>
> Shall we have this function in next version of SNMP++, or just a "public" member.
>
> Also, "protected" member iv_notify_fd.
> Though, it can be obtained vai eventListHolder->notifyEventList()->get_notify_fd().
>
>
> Best regards.
>
>
More information about the AGENTPP
mailing list