nyyrikki
nyyrikki

Reputation: 1486

C / determining content of received UDP packet

When receiving a UDP packet, where I do not know neither content nor structure, how can I find out what the content is? Is that possible somehow? Wireshark tells me the data is: 12:03:01:00:00:00:00:00:1f:44:fe:a2:07:e2:4c:28:00:15:e1:e0:00:80:12:61

The question is just about the data itself, not header of lower layers.

Thanks in advance for your help.

Upvotes: 0

Views: 170

Answers (1)

SKi
SKi

Reputation: 8476

Wireshark shows UDP header. There is 2 port numbers. Usually another port number is reserved for the used protocol (not always). You may look from the port reservation table which is the used protocol.

And if you are lucky, you find the protocol specification from Web and you can open the content of the packet.

Upvotes: 1

Related Questions