A question about UDP

I have a question about UDP channel -

For a UDP data packet, is there a way to tell whether it is SNMP PDU or some some other proprietary encoding like the one used by RemObjects? I know Wireshark seems to use the default destination port (161) as a cue.


We use Indy components (TIdUDPClient & TIdUDPServer) for sending/receiving packages via UDP channel.
I think, you have to review Indy code or/and read some RFC like rfc768 or similar others