We created multi threaded dispatcher for SNMP instance with 3 threads
During SNMP transactions, I noticed 3 sessions actually getting established.
And while closing connection as below,
I noticed only one session getting closed!
After checking snmp4j code for debugging, noticed that
TLSTM.sockets is single socketEntry per address.
private Map<Address, SocketEntry> sockets = new Hashtable<Address, SocketEntry>();
If so, can’t we have multiple session per targetAddress?