Well... i already make a client with socket to socks proxies 5... but not find any infos about how to make requests with a http proxy (using sockets and not the .net library).
Any about how to make the request.
Thanks in advance.
Well... i already make a client with socket to socks proxies 5... but not find any infos about how to make requests with a http proxy (using sockets and not the .net library).
Any about how to make the request.
Thanks in advance.
You want to implement the http protocol yourself? Well, good luck to you sir.
If not, there are existing http classes in the framework, under System.Net I believe.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Well... i not want to reinvent nothing... there are existing classes but the program have to use sockets if not you can be sure that i not ask.
By the way, any idea about my question?
So how are you going to talk to the server if you refuse to use an existing http implementation or write your own?
I see no reason why you shouldn't make use of the existing HttpWebRequest class.
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.
Well, i´m not saying that already libraries are good or bad, my questio was how to make a simple HTTP request with a http proxy.
For example, after read the rfc, the request to the server have to be something like this:
That is what i was searching because i want to use sockets and not HttpWebRequest class.
It´s all. Thank for the help.