Results 1 to 8 of 8

Thread: Winsock & Packets

  1. #1

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935

    Winsock & Packets

    Hi all. I am wondering if anyone knows how to use winsock to intercept packets on a certain port?. Eg I know that you can set winsock to a port but heres what I am wanting to do.

    Combat Flight Simulator from microsoft has a number of features in multiplayer that you can manipulate. I have the SDK for it and it is possible to create a 3rd party application that hooks into CFS and add features to packets sent and recieved. I need to know if its possible to intercept and decode those packets with winsock?

    any help or ideas would be appreciated.

  2. #2
    Frenzied Member mxnmx's Avatar
    Join Date
    Dec 2001
    Location
    I'm back...now!!!
    Posts
    1,396
    Check this out: Winsock

  3. #3

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    thanks MX but i know how to use the winsock for creating chat applications

    What im talking about is using it to intercept packets coming in from the internet on a particular port.

    before the actual intended application recieves them. and vice versa eg the application fires out a return packet and the winsock app grabs that before it heads out into the great wide world

  4. #4

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    Bump........

  5. #5
    Frenzied Member mxnmx's Avatar
    Join Date
    Dec 2001
    Location
    I'm back...now!!!
    Posts
    1,396
    No idea on that....

  6. #6
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    You can do this with a relay server type program. I've made one and posted it on my site sopon.net. Look for "Relay Server"
    Please rate my post.

  7. #7

    Thread Starter
    Fanatic Member rudvs2's Avatar
    Join Date
    Mar 2001
    Location
    NZ
    Posts
    935
    Shawn do you have any code samples or web sites for refrence material you could refer me to ?

  8. #8
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    Download the file attached to this post.

    Normally, an app will run like

    APPLICATION <------------ DATA -------------> SERVER

    when you have the relay server going things will run like

    APPLICATION <-----> DATA <-----> RELAY SERVER <-----> SERVER

    Kinda hard to explain...
    Please rate my post.

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