Results 1 to 4 of 4

Thread: [2008] Forwarding packets

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 2007
    Posts
    62

    [2008] Forwarding packets

    Basically I want to intercept packets from a game and maybe later send them back to the server.

    I found something for VB6 using winsock but if I understand correctly, winsock doesn't work in VB .NET.

    Does anyone have a working code sample for this?

    Thanks.

    EDIT: These are udp packets btw.
    Last edited by rhijaen; Dec 8th, 2008 at 01:49 AM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Re: [2008] Forwarding packets

    There's one example in codeproject and written in c#.

  3. #3
    Addicted Member
    Join Date
    Mar 2008
    Posts
    148

    Re: [2008] Forwarding packets

    The System.Sockets namespace can be used as an alternative to Winsock in VB.NET.

  4. #4
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: [2008] Forwarding packets

    If these datagrams are coming from a game server and into an already bound UDP socket on your computer, its not going to be completely easy. If however, the're is no other UDP socket bound to the port where these datagrams are sent, you can simply create one yourself using the System.Net.Sockets.Socket or the System.Net.Sockets.UdpClient class.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

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