Net::SNMP can do its IO in either blocking mode or non-blocking, at the callers 
option.  However, it allows only one instance of its dispatcher, and the 
dispatcher can only handle open blocking sessions or non-blocking ones, but not 
both types open simultaneously.  This has proved to be an onerous limitation in 
my current project which needs to have mix of both types of calls.  

Before I dive into it myself I thought I'd ask if anyone has run into this 
problem and understands why this is so?  It would seem that allowing one 
blocking and one non-blocking instance of the dispatcher per process would be a 
useful solution to this problem.  I've wondered why the module author didn't do 
this? 

TIA,

Jim Eshelman 
Nova Software

PS Our current workaround is to shell out to another process with backticks to 
do the blocking SNMP IO, an expensive and less than ideal solution.  Maybe 
there's a better way? 

_______________________________________________
Boston-pm mailing list
Boston-pm@mail.pm.org
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to