-
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.
-
-
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
-
-
-
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" ;)
-
Shawn do you have any code samples or web sites for refrence material you could refer me to ?
-
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...