Re: Getting listening port number while processing request

2024-03-27 Thread Teus Benschop
On Thu, 28 Mar 2024 at 00:13, Bart Van Assche wrote: > Hi Teus, > > Thanks for the background information. I'm not sure the Net-SNMP API needs > to be modified to realize this. How about the following approach: > >- Use netsnmp_register_handler() in MIB implementations to associate >OIDs

Re: Getting listening port number while processing request

2024-03-27 Thread Bart Van Assche
On 3/27/24 00:15, Teus Benschop wrote: On Wed, 27 Mar 2024 at 00:58, Bart Van Assche wrote: Please explain why you want to obtain that information and also how you plan to use it. Which APIs to modify will depend on the answer to that question. Hello Bert, Thank you for asking t

Re: Getting listening port number while processing request

2024-03-27 Thread Teus Benschop
On Wed, 27 Mar 2024 at 00:58, Bart Van Assche wrote: > Please explain why you want to obtain that information and also how you > plan to use it. Which APIs to modify will depend on the answer to that > question. > > > Hello Bert, Thank you for asking this question. The background to this is tha