SNMP Traps - can I monitor them?

Dar Scott dsc at swcp.com
Fri Mar 22 14:45:01 EST 2002


On Friday, March 22, 2002, at 12:22 PM, Ian Summerfield wrote:

> 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.

What do you mean "No socket is opened"?  Does 162 show up in 
openSockets?

Could you have another SNMP app running?  Try netstat or other tool 
to see.

netstat -?
for help

netstat -a
to list all

Dar Scott




More information about the use-livecode mailing list