in reply to Sending raw hex in UDP packets
(UPDATE: In case it helps, remember that there's also the ample "tutorial" man page for pack: perlpacktut)perl -e 'for $i (1..3) { print pack( "C*", 0x21, $i, 0x55 ) }' | xxd - +g 1 0000000: 21 01 55 21 02 55 21 03 55 !.U!.U!.U
|
|---|