http://www.perlmonks.org?node_id=939344


in reply to UDP Packet Encoding

Taking it at your word that documentation cannot be obtained, that leaves reverse engineering the data.

There's not that much to the packet, so most of it can probably be guessed based on what data you expect to be provided.

Things to know:

I was about to say that reverse engineering data is possibly more art than science, but that's not true at all. To reverse engineering data, apply scientific principles:

  1. Create a hypothesis as to the value of a byte or collection of bytes.
  2. Devise an experiment to prove the hypothesis.
  3. Execute the experiment.
  4. Rinse and repeat.

Things to look for: