On 12 September 2012 10:02, Jatin Bodarya <[email protected]> wrote: > But the issue is with popen(); call... when I am using SNMPWALK > command to get value it is working perfectly and returning me correct > value... but only 10-15 time... then after popen fails !!!!!
Have you considered closing the pipe after you have finished with it? Dave [I would also suggest you give full consideration to Walter's eminently sensible suggestions. Ignoring warnings and error values is very poor practise. Those messages are there to help you, and indicate that something is wrong - saying "but it seems to work" and ignoring them is very short sighted.] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
