I have a Quake 2 *server* running on my machine. I want my program to listen on the *same port* as the Quake 2 server is using to send data. I want my program to receive any data being sent through that port and redirect it out another port. Basically I want to get all data going through a specific port - both incoming and outgoing.
Anyone have an idea how I should do this (mainly its with listening on a port already taken by another application)
I'll be using and listening for UDP packets.
Thanks in advance.