Results 1 to 2 of 2

Thread: Packet Detection

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2007
    Posts
    2

    Packet Detection

    I need a little code or someone to help with a program I am working on. I currently have it detecting your diablo 2 games ip address. I would like to monitor packets for a certain packet:
    DiabloWalksTheEarth
    5A 12 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

    SojsSoldToMerchant
    5A 11 04 XX XX XX XX 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    where XX XX XX XX = number of sojs sold (DWORD).

    Would like these converted to a variable in which I can parse into a textbox if at all possible, such as, diablowalks=1 on receiving the first packet and the number of sojs sold(DWORD) for the second.

    Is this possible with vb.net 2008? If so could someone give me a little code please? If so +1 props in advance, i've been googling this for days

  2. #2
    Lively Member
    Join Date
    Jan 2009
    Posts
    90

    Re: Packet Detection

    Google RAW sockets. Or go to planet-source-code.com, and search for packet sniffer in the .NET section. There are several examples.

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