|
-
Feb 3rd, 2002, 05:49 PM
#1
Thread Starter
Fanatic Member
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.
-
Feb 3rd, 2002, 06:43 PM
#2
Frenzied Member
-
Feb 3rd, 2002, 07:11 PM
#3
Thread Starter
Fanatic Member
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
-
Feb 4th, 2002, 05:01 PM
#4
Thread Starter
Fanatic Member
-
Feb 4th, 2002, 05:20 PM
#5
Frenzied Member
-
Feb 4th, 2002, 05:26 PM
#6
Frenzied Member
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"
-
Feb 4th, 2002, 09:03 PM
#7
Thread Starter
Fanatic Member
Shawn do you have any code samples or web sites for refrence material you could refer me to ?
-
Feb 5th, 2002, 12:05 AM
#8
Frenzied Member
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|