Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How many TEPs (i.e. sockets) will be created by BUdpTransports Initialize?

initialize Sockets teps
0
Posted

How many TEPs (i.e. sockets) will be created by BUdpTransports Initialize?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123