Results 1 to 24 of 24

Thread: VB 6.0: How is packet sniffing done?

Threaded View

  1. #15
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: VB 6.0: How is packet sniffing done?

    You're making more out of it than necessary

    Instead of

    sData = sData + Chr(Val("&H" & Hex(vByte))) + " "

    do this

    sData = sData & Hex(vByte) & " "

    WAIT A MINUTE:

    Isn't "m" what you want? That's the translation of "6D" But why are you putting a space after each hex translation?

    Of course you could simplify it

    sData = sData & Chr(vByte) & " "
    Last edited by jmsrickland; Sep 28th, 2008 at 12:02 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width