SNMP Traps are nothing but packets coming to at port 162 So read the UDP Socket at 162 port no. and you will get the full SNMP Trap PDU.