Den 30-04-2014 17:57, linda zhu skrev:
> This is a work around solution. I still don't know why snmp agent
> shutdown all the other open sockets. If you find the reason, please let
> me know.

How much of snmpd.c did you clone into your thread code? The main part 
will start by closing all open file descriptors except std-in/out/err.

/Niels
-- 
Niels Baggesen -- @home -- Ã…rhus -- Denmark -- ni...@baggesen.net
The purpose of computing is insight, not numbers  --  R W Hamming

------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to