in reply to Re: Sending raw hex in UDP packets
in thread Sending raw hex in UDP packets

Unfortunately that gives the same result...
18:10:16.913890 IP 192-168-1-149.59755 > 192-168-1-8.50000: UDP, lengt +h 3 0x0000: 2cab 25ac cfdd 7cd1 c3e8 97a1 0800 4500 ,.%...|.......E. 0x0010: 001f dcc2 0000 4011 1a1e c0a8 0195 c0a8 ......@......... 0x0020: 0108 e96b c350 000b 592b 2102 55 ...k.P..Y+!.U 18:10:16.913891 IP 192-168-1-149.59755 > 192-168-1-8.50000: UDP, lengt +h 4 0x0000: 2cab 25ac cfdd 7cd1 c3e8 97a1 0800 4500 ,.%...|.......E. 0x0010: 0020 e1e9 0000 4011 14f6 c0a8 0195 c0a8 ......@......... 0x0020: 0108 e96b c350 000c 7ca6 2130 3155 ...k.P..|.!01U 18:10:16.913892 IP 192-168-1-149.59755 > 192-168-1-8.50000: UDP, lengt +h 4 0x0000: 2cab 25ac cfdd 7cd1 c3e8 97a1 0800 4500 ,.%...|.......E. 0x0010: 0020 ddcf 0000 4011 1910 c0a8 0195 c0a8 ......@......... 0x0020: 0108 e96b c350 000c 7ba6 2130 3255 ...k.P..{.!02U

Replies are listed 'Best First'.
Re^3: Sending raw hex in UDP packets
by BrowserUk (Patriarch) on May 07, 2013 at 08:33 UTC

    Sorry, my mistake: Use::$variable = "\x21" . chr( $i ) . "\x55";


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      Bingo! Thanks heaps I spent hours trying to get RawIP or Net::Write working, but I knew there had to be a simple solution!