Mukherjee, Arijit (Arijit) wrote:
Not sure if I understand what you are doing...All, Managed to get myself stuck again....:(
I have got quite a few mib modules that use shared memory. Updating these for int is not a big deal. However, for char * I am in trouble - I can keep the pointers in the shared memory - but not the memory that they point to - which are process specific. So, I cannot update the Strings from a client process for the agent to be returning these values. I am left with 2 options:
o To manage a heap by myself in the shared memory.
o To use messgae queue - where the client process puts the Strings to the
message queue for the agent to read and update its memory.
Do the different mib-modules get/set values from separate processes?
If so then I think you should take a look at the AgentX protocol (RFC 2741), else you can just disregard this message...
/Andreas
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
