I changed the pack and unpack to your suggestion, but I got "Bad response magic." error.
perldoc -f pack:
v An unsigned short in "VAX" (little-endian) order.
V An unsigned long in "VAX" (little-endian) order.
(These ’shorts’ and ’longs’ are _exactly_ 16 bits and
_exactly_ 32 bits, respectively.)
In reply to Re^2: p0fq.pl and pack?
by Anonymous Monk
in thread p0fq.pl and pack?
by macli
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |