How many TEPs (i.e. sockets) will be created by BUdpTransports Initialize?
BUdpTransport is versatile class. It allows user to fine tune number of sockets to be open for the SNMP entity (agent/manager) and also to dedicate specific sockets to work only for selected subsystem (subsystems are: command responder, notification originator, notification receiver, command generator and proxy forwarder). Here is the example. Assume that SNMP entity has commandResponder and notificationReceiver. It does not have any request generating subsystem (cmdGenerator, or notifOriginator or proxyForwarder). User wants to dedicate 161 to cmdResponder and 162 to notifReceiver. BUdpTransport transport; tUint16 port[2] = { 161, 162 }; >tUint8 teType[2] = { TETYPE_CMDRESP, TETYPE_NOTIFRECV }; // [0] 161, TETYPE_CMDRESP, -> messages received on this port // will be passed to cmdResponder // [1] 162, TETYPE_NOTIFRECV, -> messages received on this // port will be passed to notifReceiver transport.Initialize(port, teType, 2); // NOTE: no socket will be created for outgoing messages For