Results 1 to 6 of 6

Thread: Make a HTTP proxy with C++

  1. #1
    Senior Member
    Join Date
    Nov 2001
    Posts
    472

    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...
    ---
    proactive

  2. #2
    An awesome job Proactive

  3. #3
    Senior Member
    Join Date
    Nov 2001
    Posts
    472
    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.
    ---
    proactive

  4. #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

  5. #5
    never mind i downloaded winzip ( i thought i had it) and it worked
    i hope this comes in handy
    thanks

  6. #6
    Junior Member
    Join Date
    Dec 2002
    Posts
    25
    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
  •