Re: Problem with sending hex in UDP packet

From: spammersarevermin (spammersarevermin_at_krumpli.com)
Date: 05/27/04


Date: Thu, 27 May 2004 18:23:59 GMT

On Thu, 27 May 2004 16:36:49 GMT, spammersarevermin
<spammersarevermin@krumpli.com> wrote:

>I'm trying to put some hex values in a UDP packet & I don't have a
>clue how to accomplish this. Using the code below results in a packet
>going out w/ the right buffer length but all 00's as the data payload.
>Any help is appreciated. Sorry for the wrap.

Actually, the better question is:
How do I convert the array below to VB.NET? --

unsigned char grq[] = {
                0x03, 0x20, 0x00, 0x00, 0x06, 0x00, 0x08, 0x91, 0x4a,
0x00,
                0x02, 0x00, 0x0a, 0x60, 0x86, 0x48, 0x01, 0x86, 0xf8,
0x72,
                0x04, 0x02, 0x01, 0x03, 0x85, 0x01, 0x40, 0x00, 0xc0,
0xa8,
                0x0b, 0x16, 0xc0, 0x94, 0x02, 0x00, 0x01, 0x01, 0x80,
0x43,
                0x36, 0x0c, 0x30, 0x02, 0x01, 0x10, 0x11,
                
                0x02,
                0x05, 0x2b, 0x0e, 0x03, 0x02, 0x06,
                0x09, 0x60, 0x86, 0x48, 0x01, 0x86, 0xfc, 0x0b, 0x01,
0x03
        };



Relevant Pages

  • Re: Speed Mismatch?!?
    ... This _is_ a clue. ... all gi...I _WAS_ trying to buffer somthing somwhere, ... how but wondering if packet A overran packet B to the point that the ... interface counters care what goes on between the guts that contect ...
    (comp.dcom.sys.cisco)
  • Re: Data Compression Before or After Encryption ?
    ... And bacause of that we say, use CTR. ... Let's suppose the key stays the same and ECB mode is used... ... > You have no clue about security and we have no clue about your app. ... > of each packet can start as soon as the IV is received (probably with the ...
    (sci.crypt)
  • Re: Data Compression Before or After Encryption ?
    ... I don't understand the encryption algorithms and never ... And bacause of that we say, use CTR. ... You have no clue about security and we have no clue about your app. ... of each packet can start as soon as the IV is received. ...
    (sci.crypt)
  • Re: How to accomplish specialisation of Methods
    ... I have no clue how to ... > accomplish something like this using OO-Design. ... None of that has anything to do with the OO design. ... implementation stuff you only have to suffer through with poor OO ...
    (comp.object)
  • Re: [OT] Re: branch prediction optimization
    ... Eric Sosman writes: ... clue what branch prediction is supposed to accomplish'. ...
    (comp.unix.programmer)

Loading