« Back
Hi Bart Lamboo,
If you are using low-level API, you can use the method UDPProtocolOptions.setLocalPort(int), and set the UDPProtocolOptions object on SnmpSession.
If using high-level API, based on your requirement you can use the SnmpTarget or SnmpRequestServer constructor with port argument.
Hope this is clear.
Thanks,
Amarnath
If you are using low-level API, you can use the method UDPProtocolOptions.setLocalPort(int), and set the UDPProtocolOptions object on SnmpSession.
If using high-level API, based on your requirement you can use the SnmpTarget or SnmpRequestServer constructor with port argument.
Hope this is clear.
Thanks,
Amarnath
Post Actions
Corp