-
November 28th, 2002, 11:47 AM
#1
Make a HTTP proxy with C++
A HTTP proxy is usually a little gadget that filters your web browsing for advertisements or removes pop-ups. Or it could function as a gateway to the internet and buffer web pages. Anyhow, what the proxy does is receive messages from your browser, and pass them on to a web server. When the server responds, the message is passed on to the browser. Your typical middleware! Popular proxy servers are: Proxomitron (my favourite), Junkbuster(Linux) and Squid(enterprise).
This makes the perfect scenario for a networking tutorial in C++, because the proxy acts as both a client and a server. And networking is all about client/server, right?
So let's get down to business. Attached to this post is a zip which contains lots of code and a html document with the tutorial. The tutorial can also be found on my homepage. I made the poxy on my linux box, but it should compile on any windows box too. You might want to check out qmake by Trolltech because that's what I generate my makefile with. Instructions in the tutorial file...
-
December 1st, 2002, 12:06 AM
#2
An awesome job Proactive
-
December 1st, 2002, 04:24 AM
#3
I hope you like it! I've searched the web, and couldn't find any implementation of a proxy in C++. IMO plain C is harder to read, C++ is better organized and easier to understand.
-
December 27th, 2002, 04:24 AM
#4
i cant download the file
it will start but will never stop
could u email it to me?
if so my email adress is tterraj0707@netscape.net
thanks alot
-
December 28th, 2002, 08:23 AM
#5
never mind i downloaded winzip ( i thought i had it) and it worked
i hope this comes in handy
thanks
-
December 28th, 2002, 10:12 AM
#6
Junior Member
I am guessing you will be un able to use this with VB. When I get my new HDD I wil put on c++ and do it then...thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|