Lukas;

When doing multiple sendrequest on a single instance of TSnmpSend the
RequestID field is always =1 and never changes. Why does it not change to a
different value on each request so the response can be matched to the
request?

Thanks

Jeff

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lukas
Gebauer
Sent: Tuesday, February 13, 2007 6:23 AM
To: Ararat Synapse
Subject: Re: [Synalist] TSNMPSend object for multiple different IPs

> I need to use SNMP to query (SnmpGet) multiple devices all the same
> type but different IPs. For example, 100 of the exact same model
> modems but all obviously have different Internet Addresses. I will be
> doing this from the same code in the same thread. I will basically
> issue the required SNMPGet operation(s) on one device and then move
> onto the next device until all devices have been queried and then
> start the cycle all over again. My question is if I can do this with
> one TSNMPSend object instance and simply change the Query fields and 
> TargetHost field each time like this?

You can use one TSnmpSend instance within one thread. Because it is 
UDP based protocol, you can ask more devices by one instance.

Problem can be with SNMPv2 or SNMPv3 protocols, what need to know 
some context based session information. In this case is very good 
idea to use one instace for just one target, becasue you avoid 
context session synchronization by each SNMP query. It save bandwidth 
and time.



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to