Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm making a HTTP PROXY SOFTWARE.

Storing the http request that the proxy software is receiving (from Firefox or any other web browser) in a string is not anm issue as I've already got it. The problem is how to continue with the process so my software could go on with the Internet query and then pass the results to the same browser that asked them.

So:

- COMPUTER A has a web browser installed (let's say firefox).
- COMPUTER B has my proxy server software installed.
- COMPUTER B receives a query from COMPUTER A firefox.
- COMPUTER B should act as a proxy handling all the next processes. Here is where I don't know how to continue.
Posted
Updated 12-Mar-11 0:23am
v2

I am not sure what you are asking. So you click or load a link in Firefox and you want to open up the link via proxy?
 
Share this answer
 
Comments
abhi5306 12-Mar-11 6:03am    
yes
You need a server side socket listening to localhost on a port other than 80 (8080 typically). The server socket will accept an incoming connection and create and outgoing client side socket to the requested web resource. Then all information received from client side connection gets relayed back to server socket.

This is a detailed project with a bit of work. I have seen several client / server sock resources on the web via google search. I would recommend starting there to get familiar with socket connections locally. You MUST have an understanding for sockets and VB both to make this happen.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900