Giulia said:
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.