Den 06-05-2014 16:02, linda zhu skrev:
> Only one thread, and make "dont_fork" to 1.

Please reply to the list to keep everyone in the loop - there are more 
wizards than me out there :-)

If yo9ur response here means that you have taken the complete main 
program and made that into a thread, then you should look at the first 
20 or so lines of the main function and notice that it will close any 
file descriptor available, which will include any socket that you may 
have already opened.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.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