hears Active Member Licensed User Longtime User Feb 14, 2018 #1 i want use this SNMP libary : https://www.b4x.com/android/forum/threads/snmp-library-v-0-1.84738/ and i have try the demo, it is only 1 thread.it is to slowly,send after sleep(500), if quickly ,the result will mix together.. how to send many thread ? i found in this libary have SNMP.ReqId how to use it ? I have about 100 Oids need send . can not sleep , it is too long time B4X: SNMP.Oid=MY SERVER OidS SNMP.Version = SNMP.SNMPV1 SNMP.Community = "public" SNMP.PDU = SNMP.PDUGETREQUEST SNMP.ReqId = Rnd (1, 1024)
i want use this SNMP libary : https://www.b4x.com/android/forum/threads/snmp-library-v-0-1.84738/ and i have try the demo, it is only 1 thread.it is to slowly,send after sleep(500), if quickly ,the result will mix together.. how to send many thread ? i found in this libary have SNMP.ReqId how to use it ? I have about 100 Oids need send . can not sleep , it is too long time B4X: SNMP.Oid=MY SERVER OidS SNMP.Version = SNMP.SNMPV1 SNMP.Community = "public" SNMP.PDU = SNMP.PDUGETREQUEST SNMP.ReqId = Rnd (1, 1024)
Erel B4X founder Staff member Licensed User Longtime User Feb 15, 2018 #2 Sounds like a problem in the library itself. Libraries should never make any communication on the main thread. Upvote 0
Sounds like a problem in the library itself. Libraries should never make any communication on the main thread.