SNMP Traps - can I monitor them?

Ian Summerfield iansummerfield at btconnect.com
Fri Mar 22 14:24:15 EST 2002


I know that SNMP traps are sent out on Port 162.  The question is are they
datagrams?  Should I be able to do:

accept datagram connections on port 162 with message "gotGram"

No socket is opened, socketerror doesn't seem to send anything.  It seems
I'm not allowed to open port 162.

I've tried other stuff like:

open socket to "192.168.1.50:162" with message gotGram

But "gotGram" never gets called.

Am I going about this all the wrong way?




More information about the use-livecode mailing list