By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,797 Members | 1,794 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,797 IT Pros & Developers. It's quick & easy.

Build a light proxy server in Visual C++

P: n/a
Anyone knows how to build (or a tutorial online) to build a small
proxy server by myself. I need only to point it from a browser and
print in a mxgbox the URL requested and loaded.

Thank you.
Giulia
Jul 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Giulia Smith wrote:
Anyone knows how to build (or a tutorial online) to build a small
proxy server by myself. I need only to point it from a browser and
print in a mxgbox the URL requested and loaded.


You have a problem, and you have presumed that writing a light proxy server
will help solve it. There must be many ways to fix the actual problem.

A proxy server for only one port and stream is absurdly simple. You can get
that using a scripting language, such as Python or Ruby, and a little
tinkering with connect() and select().

And there are many tiny proxy servers, available thru sites like
http://sf.net or http://freshmeat.net , that will probably print or log the
name of the target URL.

I don't know why you need it in a "message box". Can't you just read it in a
log?

Technical questions get the best answers on the narrowest possible
newsgroup. This one discusses raw C++, which knows almost nothing about HTTP
and sockets.

--
Phlip
http://industrialxp.org/community/bi...UserInterfaces
Jul 23 '05 #2

P: n/a
Phlip
I just asked for a tiny proxy code. "Raw c++" as you talk about it
sounds empty. For pure look you seems require Stroustrup or Mayer. But
I'm ground the heart: c++ was build for solve problems, and I've a
problem to be solved. Nothing else.

Tnx
GJS
"Phlip" <ph*******@yahoo.com> wrote in message news:<pO**************@newssvr17.news.prodigy.com> ...
Giulia Smith wrote:
Anyone knows how to build (or a tutorial online) to build a small
proxy server by myself. I need only to point it from a browser and
print in a mxgbox the URL requested and loaded.


You have a problem, and you have presumed that writing a light proxy server
will help solve it. There must be many ways to fix the actual problem.

A proxy server for only one port and stream is absurdly simple. You can get
that using a scripting language, such as Python or Ruby, and a little
tinkering with connect() and select().

And there are many tiny proxy servers, available thru sites like
http://sf.net or http://freshmeat.net , that will probably print or log the
name of the target URL.

I don't know why you need it in a "message box". Can't you just read it in a
log?

Technical questions get the best answers on the narrowest possible
newsgroup. This one discusses raw C++, which knows almost nothing about HTTP
and sockets.

Jul 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.