Hi,

I implemented link up/down trap by myself.
I downloaded the example code "notification.c" from 
http://www.net-snmp.org/dev/agent/notification_8c-example.html, and modified it.

Every short duration (maybe 10 secs) my callback function checks the operation 
status to decide whether to send a link up/down trap or not. So it's a polling 
method! In worst case, there will be a 10 secs(if my duration is 10 secs) delay.

My question is that is there any API can minimize the delay to send a link 
up/down trap? event driven?
Is polling method the only method to do send link up/down trap? 

Thanks,

永鈦鑫   iTAS Corporation
新竹市水源街75號
NO. 75,Shuiyuan St., Hsinchu City, Taiwan, R.O.C.
Tel:03-5716099 Ext.1208
E-mail:[EMAIL PROTECTED]
-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to