This topic is now archived and is closed to further replies.


Proxy server programming.

Recommended Posts

It feels like forever since I've programmed with Windows sockets using C++. I am trying to implement the following:

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.

Share this post

Link to post
Share on other sites