This is not exactly a Unity question, if you consider using C#. In my opinion, this is your best option, as network programming is well documented in that language.
Maybe this explains:
There are other good tutorials out there. Try searching the web. Or Unity’s script reference.
you should use a sniffer to packet monitoring there are thousands of small programmes out there but on the other hand i can suggest you to compare that hex values in ascii table.