Hi my proxy server also happens to use authentication, How do i authenticate first and then transfer data?
Please let me know..
How to connect thru proxy with authentication
Posted by IMM
on 02/01/2005 12:13pm
Look at RFC 2616 14.33 'Proxy-Authenticate' and Proxy 14.34 'Proxy-Authorization' (http://www.ietf.org/rfc).
You have to add following Http-Header to your Request:
Proxy-Authorization: Base username:password
[username:password has to be Base64 encoded. Use in .Net for example: System.Convert.ToBase64String(System.Text.ASCIIEncoding.ASCII.GetBytes("username:password"))]
after executing the program an error occurs. could not connect to my proxy server.system error detail: either the application has not called wsastartup or wsastartup failed... can you help me? what will i do? i already copied your program but i don't know what else to do. thank you
First i can't connect any other ports except 443,although Mr. Kava have explained it,but i find myself not understood.
and the most important is how can i find a way to connect a outside port except 443,because it's no use if i can connect that port only.