Connecting Tech Pros Worldwide Forums | Help | Site Map

designing proxy in C

Newbie
 
Join Date: Oct 2009
Posts: 1
#1: Oct 3 '09
hey,
I'm trying to design a proxy on C where we would take the request from the client, and send to server. Then the proxy reads the bitstream coming from the server and forwards it to the client.
Basically my proxy has 2 parts. one is a part that acts as a server to the real client and the other acts as the client to the real server.
So, now i'm stuck in a place where i want to forward the bitstream that the client-part of the proxy gets to the server-part.
Basically
inputBitStream ---> goes to ---->> outputBitStream.
Can anyone tell me who i should be approaching this?
Thanks!!!

Banfa's Avatar
AdministratorVoR
 
Join Date: Feb 2006
Location: South West UK
Posts: 6,203
#2: Oct 3 '09

re: designing proxy in C


Are they are of the same process? If they are just send the data and internal buffers in the process if not use something like a named pipe.
Reply