|The stupid question is the question not asked|
Binary buffer - substrby highland7 (Novice)
|on Jan 13, 2013 at 22:29 UTC||Need Help??|
highland7 has asked for the
wisdom of the Perl Monks concerning the following question:
I read/create IP packets using Net::Frame::Layer.
I already have raw packet dump in $packet_dump.
I need to search for 4 consecutive bytes with values 0x16 0x3 0x1 0x1 and make a new binary buffer which will be send.
That new binary buffer will start from that 4 bytes (to the end of $packet_dump).
How can i do it ?
I have tried it with qq, pack, unpack but without suceess :(