Not a Perl solution per se, but presuming you have sufficient resources and/or network-fu to run it a tool like wireshark will let you see everything that's going across the wire both ways (to and from your port) with a nice hexdump / od style display of the contents.
Update: And if you really want to do this in your code the source to the perl implementation of od from ppt may be of interest.
We're looking for a Perl and Database Developer for Corporate Investments Group.
In reply to Re: UDP Server Binary Data
by Fletch
in thread UDP Server Binary Data
by xarex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |