in reply to Sending raw hex in UDP packets
it ends up sending the ASCII value of the data instead of treating it as hex
Change this:$variable = "\x21"."$i"."\x55" to $variable = sprintf "\x21%02x\x55", $i;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sending raw hex in UDP packets
by belsamber (Initiate) on May 07, 2013 at 08:14 UTC | |
by BrowserUk (Patriarch) on May 07, 2013 at 08:33 UTC | |
by belsamber (Initiate) on May 07, 2013 at 11:36 UTC |